1.0.1 • Published 3 months ago

@hazae41/secp256k1 v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Secp256k1

Secp256k1 adapter for WebAssembly and JS implementations

npm i @hazae41/secp256k1

Node Package 📦

Features

Current features

  • 100% TypeScript and ESM
  • No external dependencies

Usage

WebAssembly

npm i @hazae41/secp256k1.wasm
import { Secp256k1 } from "@hazae41/secp256k1"
import { Secp256k1Wasm } from "@hazae41/secp256k1.wasm"

await Secp256k1Wasm.initBundled()

Secp256k1.set(Secp256k1.fromWasm(Secp256k1Wasm))

Noble (JavaScript)

npm i @noble/curves
import { Secp256k1 } from "@hazae41/secp256k1"
import * as Secp256k1Noble from "@noble/curves/secp256k1"

Secp256k1.set(Secp256k1.fromNoble(Secp256k1Noble))
1.0.1

3 months ago

1.0.0

7 months ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago