@helium/helium-admin-cli 0.0.49-price.1
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 +91 -0
- package/bin/helium-admin.js +13 -0
- package/lib/cjs/cli-distribute-rewards.js +96 -0
- package/lib/cjs/cli-distribute-rewards.js.map +1 -0
- package/lib/cjs/create-active-device-aggregator.js +112 -0
- package/lib/cjs/create-active-device-aggregator.js.map +1 -0
- package/lib/cjs/create-dao.js +384 -0
- package/lib/cjs/create-dao.js.map +1 -0
- package/lib/cjs/create-maker.js +323 -0
- package/lib/cjs/create-maker.js.map +1 -0
- package/lib/cjs/create-price-oracle.js +121 -0
- package/lib/cjs/create-price-oracle.js.map +1 -0
- package/lib/cjs/create-subdao.js +496 -0
- package/lib/cjs/create-subdao.js.map +1 -0
- package/lib/cjs/distribute-hst.js +94 -0
- package/lib/cjs/distribute-hst.js.map +1 -0
- package/lib/cjs/ecc-gen.js +17 -0
- package/lib/cjs/ecc-gen.js.map +1 -0
- package/lib/cjs/end-epoch.js +144 -0
- package/lib/cjs/end-epoch.js.map +1 -0
- package/lib/cjs/log-hotspot.js +80 -0
- package/lib/cjs/log-hotspot.js.map +1 -0
- package/lib/cjs/mint-dc.js +112 -0
- package/lib/cjs/mint-dc.js.map +1 -0
- package/lib/cjs/reset-clockwork.js +141 -0
- package/lib/cjs/reset-clockwork.js.map +1 -0
- package/lib/cjs/reset-vsr-max-voter-record.js +142 -0
- package/lib/cjs/reset-vsr-max-voter-record.js.map +1 -0
- package/lib/cjs/reset-vsr-voting-mint.js +179 -0
- package/lib/cjs/reset-vsr-voting-mint.js.map +1 -0
- package/lib/cjs/setup-hst.js +243 -0
- package/lib/cjs/setup-hst.js.map +1 -0
- package/lib/cjs/submit-price.js +158 -0
- package/lib/cjs/submit-price.js.map +1 -0
- package/lib/cjs/update-account-circuit-breaker.js +127 -0
- package/lib/cjs/update-account-circuit-breaker.js.map +1 -0
- package/lib/cjs/update-dao.js +146 -0
- package/lib/cjs/update-dao.js.map +1 -0
- package/lib/cjs/update-mint-circuit-breaker.js +129 -0
- package/lib/cjs/update-mint-circuit-breaker.js.map +1 -0
- package/lib/cjs/update-rewardable-entity-config.js +143 -0
- package/lib/cjs/update-rewardable-entity-config.js.map +1 -0
- package/lib/cjs/update-subdao.js +228 -0
- package/lib/cjs/update-subdao.js.map +1 -0
- package/lib/cjs/utils.js +366 -0
- package/lib/cjs/utils.js.map +1 -0
- package/lib/esm/src/cli-distribute-rewards.js +55 -0
- package/lib/esm/src/cli-distribute-rewards.js.map +1 -0
- package/lib/esm/src/create-active-device-aggregator.js +71 -0
- package/lib/esm/src/create-active-device-aggregator.js.map +1 -0
- package/lib/esm/src/create-dao.js +341 -0
- package/lib/esm/src/create-dao.js.map +1 -0
- package/lib/esm/src/create-maker.js +282 -0
- package/lib/esm/src/create-maker.js.map +1 -0
- package/lib/esm/src/create-price-oracle.js +80 -0
- package/lib/esm/src/create-price-oracle.js.map +1 -0
- package/lib/esm/src/create-subdao.js +455 -0
- package/lib/esm/src/create-subdao.js.map +1 -0
- package/lib/esm/src/distribute-hst.js +53 -0
- package/lib/esm/src/distribute-hst.js.map +1 -0
- package/lib/esm/src/ecc-gen.js +6 -0
- package/lib/esm/src/ecc-gen.js.map +1 -0
- package/lib/esm/src/end-epoch.js +103 -0
- package/lib/esm/src/end-epoch.js.map +1 -0
- package/lib/esm/src/log-hotspot.js +39 -0
- package/lib/esm/src/log-hotspot.js.map +1 -0
- package/lib/esm/src/mint-dc.js +71 -0
- package/lib/esm/src/mint-dc.js.map +1 -0
- package/lib/esm/src/reset-clockwork.js +100 -0
- package/lib/esm/src/reset-clockwork.js.map +1 -0
- package/lib/esm/src/reset-vsr-max-voter-record.js +101 -0
- package/lib/esm/src/reset-vsr-max-voter-record.js.map +1 -0
- package/lib/esm/src/reset-vsr-voting-mint.js +138 -0
- package/lib/esm/src/reset-vsr-voting-mint.js.map +1 -0
- package/lib/esm/src/setup-hst.js +201 -0
- package/lib/esm/src/setup-hst.js.map +1 -0
- package/lib/esm/src/submit-price.js +113 -0
- package/lib/esm/src/submit-price.js.map +1 -0
- package/lib/esm/src/update-account-circuit-breaker.js +86 -0
- package/lib/esm/src/update-account-circuit-breaker.js.map +1 -0
- package/lib/esm/src/update-dao.js +105 -0
- package/lib/esm/src/update-dao.js.map +1 -0
- package/lib/esm/src/update-mint-circuit-breaker.js +88 -0
- package/lib/esm/src/update-mint-circuit-breaker.js.map +1 -0
- package/lib/esm/src/update-rewardable-entity-config.js +102 -0
- package/lib/esm/src/update-rewardable-entity-config.js.map +1 -0
- package/lib/esm/src/update-subdao.js +187 -0
- package/lib/esm/src/update-subdao.js.map +1 -0
- package/lib/esm/src/utils.js +309 -0
- package/lib/esm/src/utils.js.map +1 -0
- package/lib/esm/tsconfig.esm.tsbuildinfo +1 -0
- package/lib/types/src/cli-distribute-rewards.d.ts +2 -0
- package/lib/types/src/cli-distribute-rewards.d.ts.map +1 -0
- package/lib/types/src/create-active-device-aggregator.d.ts +2 -0
- package/lib/types/src/create-active-device-aggregator.d.ts.map +1 -0
- package/lib/types/src/create-dao.d.ts +2 -0
- package/lib/types/src/create-dao.d.ts.map +1 -0
- package/lib/types/src/create-maker.d.ts +2 -0
- package/lib/types/src/create-maker.d.ts.map +1 -0
- package/lib/types/src/create-price-oracle.d.ts +2 -0
- package/lib/types/src/create-price-oracle.d.ts.map +1 -0
- package/lib/types/src/create-subdao.d.ts +2 -0
- package/lib/types/src/create-subdao.d.ts.map +1 -0
- package/lib/types/src/distribute-hst.d.ts +2 -0
- package/lib/types/src/distribute-hst.d.ts.map +1 -0
- package/lib/types/src/ecc-gen.d.ts +2 -0
- package/lib/types/src/ecc-gen.d.ts.map +1 -0
- package/lib/types/src/end-epoch.d.ts +2 -0
- package/lib/types/src/end-epoch.d.ts.map +1 -0
- package/lib/types/src/log-hotspot.d.ts +2 -0
- package/lib/types/src/log-hotspot.d.ts.map +1 -0
- package/lib/types/src/mint-dc.d.ts +2 -0
- package/lib/types/src/mint-dc.d.ts.map +1 -0
- package/lib/types/src/reset-clockwork.d.ts +2 -0
- package/lib/types/src/reset-clockwork.d.ts.map +1 -0
- package/lib/types/src/reset-vsr-max-voter-record.d.ts +2 -0
- package/lib/types/src/reset-vsr-max-voter-record.d.ts.map +1 -0
- package/lib/types/src/reset-vsr-voting-mint.d.ts +2 -0
- package/lib/types/src/reset-vsr-voting-mint.d.ts.map +1 -0
- package/lib/types/src/setup-hst.d.ts +4 -0
- package/lib/types/src/setup-hst.d.ts.map +1 -0
- package/lib/types/src/submit-price.d.ts +2 -0
- package/lib/types/src/submit-price.d.ts.map +1 -0
- package/lib/types/src/update-account-circuit-breaker.d.ts +2 -0
- package/lib/types/src/update-account-circuit-breaker.d.ts.map +1 -0
- package/lib/types/src/update-dao.d.ts +2 -0
- package/lib/types/src/update-dao.d.ts.map +1 -0
- package/lib/types/src/update-mint-circuit-breaker.d.ts +2 -0
- package/lib/types/src/update-mint-circuit-breaker.d.ts.map +1 -0
- package/lib/types/src/update-rewardable-entity-config.d.ts +2 -0
- package/lib/types/src/update-rewardable-entity-config.d.ts.map +1 -0
- package/lib/types/src/update-subdao.d.ts +2 -0
- package/lib/types/src/update-subdao.d.ts.map +1 -0
- package/lib/types/src/utils.d.ts +55 -0
- package/lib/types/src/utils.d.ts.map +1 -0
- package/package.json +77 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli-distribute-rewards.d.ts","sourceRoot":"","sources":["../../../src/cli-distribute-rewards.ts"],"names":[],"mappings":"AAqBA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBA8DjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-active-device-aggregator.d.ts","sourceRoot":"","sources":["../../../src/create-active-device-aggregator.ts"],"names":[],"mappings":"AAOA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAkEjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-dao.d.ts","sourceRoot":"","sources":["../../../src/create-dao.ts"],"names":[],"mappings":"AAmEA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAyYjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-maker.d.ts","sourceRoot":"","sources":["../../../src/create-maker.ts"],"names":[],"mappings":"AA0CA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBA4SjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-price-oracle.d.ts","sourceRoot":"","sources":["../../../src/create-price-oracle.ts"],"names":[],"mappings":"AAkBA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAgFjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-subdao.d.ts","sourceRoot":"","sources":["../../../src/create-subdao.ts"],"names":[],"mappings":"AA2DA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAwgBjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"distribute-hst.d.ts","sourceRoot":"","sources":["../../../src/distribute-hst.ts"],"names":[],"mappings":"AAOA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAuDjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ecc-gen.d.ts","sourceRoot":"","sources":["../../../src/ecc-gen.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"end-epoch.d.ts","sourceRoot":"","sources":["../../../src/end-epoch.ts"],"names":[],"mappings":"AAcA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBA4GjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log-hotspot.d.ts","sourceRoot":"","sources":["../../../src/log-hotspot.ts"],"names":[],"mappings":"AAQA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAiCjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mint-dc.d.ts","sourceRoot":"","sources":["../../../src/mint-dc.ts"],"names":[],"mappings":"AAQA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBA4EjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reset-clockwork.d.ts","sourceRoot":"","sources":["../../../src/reset-clockwork.ts"],"names":[],"mappings":"AAYA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBA6GjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reset-vsr-max-voter-record.d.ts","sourceRoot":"","sources":["../../../src/reset-vsr-max-voter-record.ts"],"names":[],"mappings":"AAaA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBA8GjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reset-vsr-voting-mint.d.ts","sourceRoot":"","sources":["../../../src/reset-vsr-voting-mint.ts"],"names":[],"mappings":"AAqBA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAgJjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup-hst.d.ts","sourceRoot":"","sources":["../../../src/setup-hst.ts"],"names":[],"mappings":"AAUA,OAAO,EAAiC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAQ3E,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBA0MjD;AAcD,wBAAgB,SAAS,CACvB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,MAAM,EAChB,SAAS,GAAE,SAAyB,GACnC,CAAC,SAAS,EAAE,MAAM,CAAC,CASrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submit-price.d.ts","sourceRoot":"","sources":["../../../src/submit-price.ts"],"names":[],"mappings":"AAoCA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAkGjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-account-circuit-breaker.d.ts","sourceRoot":"","sources":["../../../src/update-account-circuit-breaker.ts"],"names":[],"mappings":"AASA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAyFjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-dao.d.ts","sourceRoot":"","sources":["../../../src/update-dao.ts"],"names":[],"mappings":"AAWA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAsGjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-mint-circuit-breaker.d.ts","sourceRoot":"","sources":["../../../src/update-mint-circuit-breaker.ts"],"names":[],"mappings":"AASA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAwFjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-rewardable-entity-config.d.ts","sourceRoot":"","sources":["../../../src/update-rewardable-entity-config.ts"],"names":[],"mappings":"AAeA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBAqGjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-subdao.d.ts","sourceRoot":"","sources":["../../../src/update-subdao.ts"],"names":[],"mappings":"AA2BA,wBAAsB,GAAG,CAAC,IAAI,GAAE,GAAkB,iBA2NjD"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as anchor from "@coral-xyz/anchor";
|
|
2
|
+
import { Commitment, Connection, Keypair, PublicKey, Signer, TransactionInstruction } from "@solana/web3.js";
|
|
3
|
+
import Squads from "@sqds/sdk";
|
|
4
|
+
export declare const getTimestampFromDays: (days: number) => number;
|
|
5
|
+
export declare const getUnixTimestamp: (provider: anchor.Provider) => Promise<bigint>;
|
|
6
|
+
export declare function exists(connection: Connection, account: PublicKey): Promise<boolean>;
|
|
7
|
+
export declare function createAndMint({ provider, mintKeypair, amount, metadataUrl, decimals, to, mintAuthority, freezeAuthority, }: {
|
|
8
|
+
provider: anchor.AnchorProvider;
|
|
9
|
+
mintKeypair?: Keypair;
|
|
10
|
+
amount: number;
|
|
11
|
+
metadataUrl: string;
|
|
12
|
+
decimals?: number;
|
|
13
|
+
to?: PublicKey;
|
|
14
|
+
mintAuthority?: PublicKey;
|
|
15
|
+
freezeAuthority?: PublicKey;
|
|
16
|
+
}): Promise<void>;
|
|
17
|
+
export declare function loadKeypair(keypair: string): Keypair;
|
|
18
|
+
export declare function isLocalhost(provider: anchor.AnchorProvider): boolean;
|
|
19
|
+
export declare function sendInstructionsOrCreateProposal({ provider, instructions, signers, govProgramId, proposalName, payer, commitment, idlErrors, votingMint, executeProposal, walletSigner, }: {
|
|
20
|
+
executeProposal?: boolean;
|
|
21
|
+
walletSigner?: Signer;
|
|
22
|
+
provider: anchor.AnchorProvider;
|
|
23
|
+
instructions: TransactionInstruction[];
|
|
24
|
+
signers?: Signer[];
|
|
25
|
+
govProgramId: PublicKey;
|
|
26
|
+
votingMint?: PublicKey;
|
|
27
|
+
proposalName: string;
|
|
28
|
+
payer?: PublicKey;
|
|
29
|
+
commitment?: Commitment;
|
|
30
|
+
idlErrors?: Map<number, string>;
|
|
31
|
+
}): Promise<string>;
|
|
32
|
+
export declare function createSwitchboardAggregator({ provider, aggKeypair, url, switchboardNetwork, wallet, crank, queue, authority }: {
|
|
33
|
+
authority: PublicKey;
|
|
34
|
+
switchboardNetwork: string;
|
|
35
|
+
wallet: Keypair;
|
|
36
|
+
crank: PublicKey;
|
|
37
|
+
queue: PublicKey;
|
|
38
|
+
provider: anchor.AnchorProvider;
|
|
39
|
+
aggKeypair: Keypair;
|
|
40
|
+
url: string;
|
|
41
|
+
}): Promise<anchor.web3.PublicKey>;
|
|
42
|
+
export declare function sendInstructionsOrSquads({ provider, instructions, signers, payer, commitment, idlErrors, executeTransaction, squads, multisig, authorityIndex, }: {
|
|
43
|
+
executeTransaction?: boolean;
|
|
44
|
+
provider: anchor.AnchorProvider;
|
|
45
|
+
instructions: TransactionInstruction[];
|
|
46
|
+
signers?: Signer[];
|
|
47
|
+
payer?: PublicKey;
|
|
48
|
+
commitment?: Commitment;
|
|
49
|
+
idlErrors?: Map<number, string>;
|
|
50
|
+
squads: Squads;
|
|
51
|
+
multisig?: PublicKey;
|
|
52
|
+
authorityIndex: number;
|
|
53
|
+
}): Promise<string>;
|
|
54
|
+
export declare function parseEmissionsSchedule(filepath: string): Promise<any>;
|
|
55
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/utils.ts"],"names":[],"mappings":"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"}
|
package/package.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@helium/helium-admin-cli",
|
|
3
|
+
"private": false,
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org/"
|
|
7
|
+
},
|
|
8
|
+
"license": "Apache-2.0",
|
|
9
|
+
"version": "0.0.49-price.1",
|
|
10
|
+
"description": "CLI to bootstrap the network",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/HeliumFoundation/helium-program-libary"
|
|
14
|
+
},
|
|
15
|
+
"main": "./lib/cjs/index.js",
|
|
16
|
+
"module": "./lib/esm/src/index.js",
|
|
17
|
+
"types": "./lib/types/src/index.d.ts",
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"files": [
|
|
20
|
+
"lib",
|
|
21
|
+
"bin"
|
|
22
|
+
],
|
|
23
|
+
"bin": {
|
|
24
|
+
"helium-admin": "./bin/helium-admin.js"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"cli"
|
|
28
|
+
],
|
|
29
|
+
"exports": {
|
|
30
|
+
"import": "./lib/esm/src/index.js",
|
|
31
|
+
"require": "./lib/cjs/index.js",
|
|
32
|
+
"types": "./lib/types/src/index.d.ts"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
36
|
+
"precommit": "npx git-format-staged -f 'prettier --ignore-unknown --stdin --stdin-filepath \"{}\"' .",
|
|
37
|
+
"clean": "npx shx mkdir -p lib && npx shx rm -rf lib",
|
|
38
|
+
"package": "npx shx mkdir -p lib/cjs lib/esm",
|
|
39
|
+
"prebuild": "npm run clean && npm run package"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@clockwork-xyz/sdk": "^0.2.4",
|
|
43
|
+
"@coral-xyz/anchor": "0.26.0",
|
|
44
|
+
"@helium/address": "^4.6.2",
|
|
45
|
+
"@helium/circuit-breaker-sdk": "^0.0.49",
|
|
46
|
+
"@helium/crypto": "^4.6.2",
|
|
47
|
+
"@helium/data-credits-sdk": "^0.0.49",
|
|
48
|
+
"@helium/distributor-oracle": "^0.0.49",
|
|
49
|
+
"@helium/fanout-sdk": "^0.0.49",
|
|
50
|
+
"@helium/helium-entity-manager-sdk": "^0.0.49",
|
|
51
|
+
"@helium/helium-sub-daos-sdk": "^0.0.49",
|
|
52
|
+
"@helium/lazy-distributor-sdk": "^0.0.49",
|
|
53
|
+
"@helium/price-oracle-sdk": "^0.0.49",
|
|
54
|
+
"@helium/spl-utils": "^0.0.49",
|
|
55
|
+
"@helium/treasury-management-sdk": "^0.0.49",
|
|
56
|
+
"@solana/spl-account-compression": "^0.1.4",
|
|
57
|
+
"@solana/spl-governance": "^0.3.18",
|
|
58
|
+
"@solana/spl-token": "^0.3.6",
|
|
59
|
+
"@solana/web3.js": "^1.66.2",
|
|
60
|
+
"@sqds/sdk": "^2.0.3",
|
|
61
|
+
"@switchboard-xyz/common": "^2.1.7",
|
|
62
|
+
"@switchboard-xyz/solana.js": "^2.0.7",
|
|
63
|
+
"axios": "^1.1.3",
|
|
64
|
+
"bn.js": "^5.2.0",
|
|
65
|
+
"bs58": "^5.0.0",
|
|
66
|
+
"yargs": "^17.6.0"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@types/yargs": "^17.0.13",
|
|
70
|
+
"git-format-staged": "^2.1.3",
|
|
71
|
+
"ts-loader": "^9.2.3",
|
|
72
|
+
"ts-node": "^10.8.1",
|
|
73
|
+
"typescript": "^4.3.4",
|
|
74
|
+
"yarn": "^1.22.18"
|
|
75
|
+
},
|
|
76
|
+
"author": ""
|
|
77
|
+
}
|