@utexo/rgb-sdk 1.0.3 → 1.0.5
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 +267 -301
- package/cli/README.md +348 -0
- package/cli/commands/address.mjs +16 -0
- package/cli/commands/blindreceive.mjs +15 -0
- package/cli/commands/btcbalance.mjs +11 -0
- package/cli/commands/createlightninginvoice.mjs +14 -0
- package/cli/commands/createutxos.mjs +13 -0
- package/cli/commands/decodergbinvoice.mjs +9 -0
- package/cli/commands/generate_keys.mjs +35 -0
- package/cli/commands/getlightningreceiverequest.mjs +10 -0
- package/cli/commands/getlightningsendrequest.mjs +10 -0
- package/cli/commands/getonchainsendstatus.mjs +20 -0
- package/cli/commands/listassets.mjs +11 -0
- package/cli/commands/listtransfers.mjs +10 -0
- package/cli/commands/listunspents.mjs +10 -0
- package/cli/commands/onchainreceive.mjs +16 -0
- package/cli/commands/onchainsend.mjs +11 -0
- package/cli/commands/onchainsendbegin.mjs +9 -0
- package/cli/commands/onchainsendend.mjs +9 -0
- package/cli/commands/paylightninginvoice.mjs +11 -0
- package/cli/commands/paylightninginvoicebegin.mjs +10 -0
- package/cli/commands/paylightninginvoiceend.mjs +9 -0
- package/cli/commands/refresh.mjs +9 -0
- package/cli/commands/send.mjs +31 -0
- package/cli/commands/sign-psbt.mjs +12 -0
- package/cli/commands/signpsbt.mjs +10 -0
- package/cli/commands/witnessreceive.mjs +15 -0
- package/cli/generate_keys.mjs +66 -0
- package/cli/run.mjs +291 -0
- package/cli/utils.mjs +220 -0
- package/dist/index.cjs +1606 -121
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1235 -145
- package/dist/index.d.ts +1235 -145
- package/dist/index.mjs +1592 -116
- package/dist/index.mjs.map +1 -1
- package/package.json +21 -8
package/package.json
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@utexo/rgb-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"bin": {
|
|
5
|
+
"utexo": "cli/run.mjs"
|
|
6
|
+
},
|
|
4
7
|
"devDependencies": {
|
|
5
8
|
"@types/jest": "^30.0.0",
|
|
6
9
|
"@types/node": "^22.17.2",
|
|
@@ -13,18 +16,28 @@
|
|
|
13
16
|
"scripts": {
|
|
14
17
|
"dev": "tsc -w",
|
|
15
18
|
"build": "tsup",
|
|
16
|
-
"prepare": "npm run build",
|
|
17
19
|
"test": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest",
|
|
18
20
|
"test:watch": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --watch",
|
|
19
21
|
"test:coverage": "npm run build && NODE_OPTIONS='--experimental-vm-modules' jest --coverage",
|
|
20
22
|
"version:patch": "npm version patch && git push && git push --tags && npm publish --access public",
|
|
21
23
|
"version:minor": "npm version minor && git push && git push --tags && npm publish --access public",
|
|
22
24
|
"version:major": "npm version major && git push && git push --tags && npm publish --access public",
|
|
23
|
-
"example:complete": "node --experimental-wasm-modules example-flow.mjs"
|
|
25
|
+
"example:complete": "node --experimental-wasm-modules example-flow.mjs",
|
|
26
|
+
"example:utexo": "node example-utexo-flow.mjs",
|
|
27
|
+
"example:new-wallet": "node examples/new-wallet.mjs",
|
|
28
|
+
"example:create-utxos-asset": "node examples/create-utxos-asset.mjs",
|
|
29
|
+
"example:read-wallet": "node examples/read-wallet.mjs",
|
|
30
|
+
"example:transfer": "node examples/transfer.mjs",
|
|
31
|
+
"example:onchain": "node examples/onchain-flow.mjs",
|
|
32
|
+
"example:vss": "node examples/utexo-vss-backup-restore.mjs",
|
|
33
|
+
"example:file-backup": "node examples/utexo-file-backup-restore.mjs",
|
|
34
|
+
"utexo": "node cli/run.mjs",
|
|
35
|
+
"generate_keys": "node cli/generate_keys.mjs"
|
|
24
36
|
},
|
|
25
37
|
"files": [
|
|
26
38
|
"dist",
|
|
27
|
-
"README.md"
|
|
39
|
+
"README.md",
|
|
40
|
+
"cli"
|
|
28
41
|
],
|
|
29
42
|
"exports": {
|
|
30
43
|
".": {
|
|
@@ -47,13 +60,13 @@
|
|
|
47
60
|
"bip39": "^3.1.0",
|
|
48
61
|
"bitcoinjs-lib": "^6.1.7",
|
|
49
62
|
"form-data": "^4.0.0",
|
|
50
|
-
"@utexo/rgb-lib": "0.3.0-beta.
|
|
63
|
+
"@utexo/rgb-lib": "0.3.0-beta.12.vss",
|
|
51
64
|
"ripemd160": "^2.0.3"
|
|
52
65
|
},
|
|
53
66
|
"optionalDependencies": {
|
|
54
|
-
"@utexo/rgb-lib-linux-x64": "0.3.0-beta.
|
|
55
|
-
"@utexo/rgb-lib-linux-arm64": "0.3.0-beta.
|
|
56
|
-
"@utexo/rgb-lib-darwin-arm64": "0.3.0-beta.
|
|
67
|
+
"@utexo/rgb-lib-linux-x64": "0.3.0-beta.12.vss",
|
|
68
|
+
"@utexo/rgb-lib-linux-arm64": "0.3.0-beta.12.vss",
|
|
69
|
+
"@utexo/rgb-lib-darwin-arm64": "0.3.0-beta.12.vss"
|
|
57
70
|
},
|
|
58
71
|
"keywords": [
|
|
59
72
|
"rgb",
|