@anywalletkit/wallet-tron 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
# @anywalletkit/wallet-tron
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@anywalletkit/wallet-tron)
|
|
4
|
+
|
|
3
5
|
Tron accounts at `m/44'/195'/0'/0/i` (BIP-44 — the TronLink default), pinned by golden
|
|
4
6
|
vectors in `@anywalletkit/conformance`. No tronweb: the full-node HTTP API builds
|
|
5
7
|
`raw_data`, the account checks it, simulates it, signs `txID` with noble secp256k1
|
|
6
8
|
and broadcasts.
|
|
7
9
|
|
|
10
|
+
## Install
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
npm install @anywalletkit/wallet-tron
|
|
14
|
+
# or: pnpm add @anywalletkit/wallet-tron · yarn add @anywalletkit/wallet-tron
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
On npm: [@anywalletkit/wallet-tron](https://www.npmjs.com/package/@anywalletkit/wallet-tron), published from the [release workflow](https://github.com/ultratestbro/anywalletkit/blob/main/RELEASING.md) with provenance.
|
|
18
|
+
|
|
8
19
|
```ts
|
|
9
20
|
import WalletManagerTron from '@anywalletkit/wallet-tron'
|
|
10
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anywalletkit/wallet-tron",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Tron wallet for Any Wallet Kit: BIP-32 m/44'/195'/0'/0/i accounts, TRX and TRC-20 transfers against a full-node HTTP API, no tronweb.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://docs.anywallet.tech",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"@noble/curves": "^2.4.0",
|
|
46
46
|
"@noble/hashes": "^2.4.0",
|
|
47
47
|
"@scure/base": "^2.4.0",
|
|
48
|
-
"@anywalletkit/core": "0.3.
|
|
48
|
+
"@anywalletkit/core": "0.3.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"vitest": "^5.0.3",
|
|
52
|
-
"@anywalletkit/conformance": "0.3.
|
|
52
|
+
"@anywalletkit/conformance": "0.3.2"
|
|
53
53
|
},
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public",
|