Skip to content

soatok/elliptic-to-noble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elliptic to Noble

Build Status

API-compatible replacement library for migrating from elliptic to noble-curves.

Installation

First, add this repository as a dependency in your package.json file:

{
  "dependencies": {
    "elliptic": "@soatok/elliptic-to-noble"
  }
}

Then, add this to your package.json to ensure all child dependencies use this shim:

{
  "overrides": {
    "elliptic": "$elliptic"
  }
}

This will prevent the original elliptic from being installed (even by dependencies). Instead, an API-compatible shim (provided in this repository) will be used instead, backed by the much more secure noble-curves library.