You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A flexible, strongly-typed, FP-inspired, highly-portable, typescript bitcoin library.
9
9
@@ -25,18 +25,18 @@ Please see the [Design Guidelines](.github/CONTRIBUTING.md) for more info.
25
25
26
26
## Usage
27
27
28
-
To use, simply install `bitcoin-ts`:
28
+
To use, simply install `libauth`:
29
29
30
30
```sh
31
-
npm install bitcoin-ts
31
+
npm install libauth
32
32
# OR
33
-
yarn add bitcoin-ts
33
+
yarn add libauth
34
34
```
35
35
36
36
And import the functionality you need:
37
37
38
38
```typescript
39
-
import { instantiateSecp256k1 } from'bitcoin-ts';
39
+
import { instantiateSecp256k1 } from'libauth';
40
40
import { msgHash, pubkey, sig } from'./somewhere';
41
41
42
42
(async () => {
@@ -47,31 +47,31 @@ import { msgHash, pubkey, sig } from './somewhere';
47
47
})();
48
48
```
49
49
50
-
**Note**: `bitcoin-ts` uses [`BigInt`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt), [`WebAssembly`](https://developer.mozilla.org/en-US/docs/WebAssembly), and es2017 features for some functionality. While support is required to use this functionality (Node.js v10 LTS or later), other parts of the library will continue to work in older environments.
50
+
**Note**: `libauth` uses [`BigInt`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt), [`WebAssembly`](https://developer.mozilla.org/en-US/docs/WebAssembly), and es2017 features for some functionality. While support is required to use this functionality (Node.js v10 LTS or later), other parts of the library will continue to work in older environments.
51
51
52
52
To include the necessary TypeScript library files in you application, add `"lib": ["es2017", "esnext.bigint", "dom"]` to your `tsconfig.json`.
53
53
54
54
## API
55
55
56
56
The following APIs are considered stable, and will only include breaking changes in major version upgrades.
0 commit comments