@bitgo-beta/sdk-coin-near 1.1.0
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/.eslintignore +5 -0
- package/.mocharc.yml +8 -0
- package/CHANGELOG.md +32 -0
- package/LICENSE +191 -0
- package/README.md +30 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +16 -0
- package/dist/src/lib/constants.d.ts +12 -0
- package/dist/src/lib/constants.d.ts.map +1 -0
- package/dist/src/lib/constants.js +15 -0
- package/dist/src/lib/contractCallWrapper.d.ts +33 -0
- package/dist/src/lib/contractCallWrapper.d.ts.map +1 -0
- package/dist/src/lib/contractCallWrapper.js +68 -0
- package/dist/src/lib/errors.d.ts +5 -0
- package/dist/src/lib/errors.d.ts.map +1 -0
- package/dist/src/lib/errors.js +12 -0
- package/dist/src/lib/iface.d.ts +40 -0
- package/dist/src/lib/iface.d.ts.map +1 -0
- package/dist/src/lib/iface.js +8 -0
- package/dist/src/lib/index.d.ts +11 -0
- package/dist/src/lib/index.d.ts.map +1 -0
- package/dist/src/lib/index.js +41 -0
- package/dist/src/lib/keyPair.d.ts +25 -0
- package/dist/src/lib/keyPair.d.ts.map +1 -0
- package/dist/src/lib/keyPair.js +72 -0
- package/dist/src/lib/stakingActivateBuilder.d.ts +32 -0
- package/dist/src/lib/stakingActivateBuilder.d.ts.map +1 -0
- package/dist/src/lib/stakingActivateBuilder.js +90 -0
- package/dist/src/lib/stakingDeactivateBuilder.d.ts +32 -0
- package/dist/src/lib/stakingDeactivateBuilder.d.ts.map +1 -0
- package/dist/src/lib/stakingDeactivateBuilder.js +89 -0
- package/dist/src/lib/stakingWithdrawBuilder.d.ts +32 -0
- package/dist/src/lib/stakingWithdrawBuilder.d.ts.map +1 -0
- package/dist/src/lib/stakingWithdrawBuilder.js +89 -0
- package/dist/src/lib/transaction.d.ts +90 -0
- package/dist/src/lib/transaction.d.ts.map +1 -0
- package/dist/src/lib/transaction.js +368 -0
- package/dist/src/lib/transactionBuilder.d.ts +89 -0
- package/dist/src/lib/transactionBuilder.d.ts.map +1 -0
- package/dist/src/lib/transactionBuilder.js +216 -0
- package/dist/src/lib/transactionBuilderFactory.d.ts +30 -0
- package/dist/src/lib/transactionBuilderFactory.d.ts.map +1 -0
- package/dist/src/lib/transactionBuilderFactory.js +71 -0
- package/dist/src/lib/transferBuilder.d.ts +26 -0
- package/dist/src/lib/transferBuilder.d.ts.map +1 -0
- package/dist/src/lib/transferBuilder.js +72 -0
- package/dist/src/lib/utils.d.ts +42 -0
- package/dist/src/lib/utils.d.ts.map +1 -0
- package/dist/src/lib/utils.js +85 -0
- package/dist/src/lib/walletInitializationBuilder.d.ts +12 -0
- package/dist/src/lib/walletInitializationBuilder.d.ts.map +1 -0
- package/dist/src/lib/walletInitializationBuilder.js +20 -0
- package/dist/src/near.d.ts +169 -0
- package/dist/src/near.d.ts.map +1 -0
- package/dist/src/near.js +471 -0
- package/dist/src/tnear.d.ts +7 -0
- package/dist/src/tnear.d.ts.map +1 -0
- package/dist/src/tnear.js +11 -0
- package/package.json +61 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WalletInitializationBuilder = void 0;
|
|
4
|
+
const sdk_core_1 = require("@bitgo-beta/sdk-core");
|
|
5
|
+
const transactionBuilder_1 = require("./transactionBuilder");
|
|
6
|
+
class WalletInitializationBuilder extends transactionBuilder_1.TransactionBuilder {
|
|
7
|
+
constructor(_coinConfig) {
|
|
8
|
+
super(_coinConfig);
|
|
9
|
+
}
|
|
10
|
+
/** @inheritdoc */
|
|
11
|
+
async buildImplementation() {
|
|
12
|
+
throw new sdk_core_1.NotImplementedError('method not implemented');
|
|
13
|
+
}
|
|
14
|
+
/** @inheritdoc */
|
|
15
|
+
signImplementation(key) {
|
|
16
|
+
throw new sdk_core_1.NotImplementedError('method not implemented');
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.WalletInitializationBuilder = WalletInitializationBuilder;
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0SW5pdGlhbGl6YXRpb25CdWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi93YWxsZXRJbml0aWFsaXphdGlvbkJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsbURBQW9FO0FBRXBFLDZEQUEwRDtBQUUxRCxNQUFhLDJCQUE0QixTQUFRLHVDQUFrQjtJQUNqRSxZQUFZLFdBQWlDO1FBQzNDLEtBQUssQ0FBQyxXQUFXLENBQUMsQ0FBQztJQUNyQixDQUFDO0lBRUQsa0JBQWtCO0lBQ1IsS0FBSyxDQUFDLG1CQUFtQjtRQUNqQyxNQUFNLElBQUksOEJBQW1CLENBQUMsd0JBQXdCLENBQUMsQ0FBQztJQUMxRCxDQUFDO0lBRUQsa0JBQWtCO0lBQ1Isa0JBQWtCLENBQUMsR0FBWTtRQUN2QyxNQUFNLElBQUksOEJBQW1CLENBQUMsd0JBQXdCLENBQUMsQ0FBQztJQUMxRCxDQUFDO0NBQ0Y7QUFkRCxrRUFjQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJhc2VDb2luIGFzIENvaW5Db25maWcgfSBmcm9tICdAYml0Z28tYmV0YS9zdGF0aWNzJztcbmltcG9ydCB7IEJhc2VLZXksIE5vdEltcGxlbWVudGVkRXJyb3IgfSBmcm9tICdAYml0Z28tYmV0YS9zZGstY29yZSc7XG5pbXBvcnQgeyBUcmFuc2FjdGlvbiB9IGZyb20gJy4vdHJhbnNhY3Rpb24nO1xuaW1wb3J0IHsgVHJhbnNhY3Rpb25CdWlsZGVyIH0gZnJvbSAnLi90cmFuc2FjdGlvbkJ1aWxkZXInO1xuXG5leHBvcnQgY2xhc3MgV2FsbGV0SW5pdGlhbGl6YXRpb25CdWlsZGVyIGV4dGVuZHMgVHJhbnNhY3Rpb25CdWlsZGVyIHtcbiAgY29uc3RydWN0b3IoX2NvaW5Db25maWc6IFJlYWRvbmx5PENvaW5Db25maWc+KSB7XG4gICAgc3VwZXIoX2NvaW5Db25maWcpO1xuICB9XG5cbiAgLyoqIEBpbmhlcml0ZG9jICovXG4gIHByb3RlY3RlZCBhc3luYyBidWlsZEltcGxlbWVudGF0aW9uKCk6IFByb21pc2U8VHJhbnNhY3Rpb24+IHtcbiAgICB0aHJvdyBuZXcgTm90SW1wbGVtZW50ZWRFcnJvcignbWV0aG9kIG5vdCBpbXBsZW1lbnRlZCcpO1xuICB9XG5cbiAgLyoqIEBpbmhlcml0ZG9jICovXG4gIHByb3RlY3RlZCBzaWduSW1wbGVtZW50YXRpb24oa2V5OiBCYXNlS2V5KTogVHJhbnNhY3Rpb24ge1xuICAgIHRocm93IG5ldyBOb3RJbXBsZW1lbnRlZEVycm9yKCdtZXRob2Qgbm90IGltcGxlbWVudGVkJyk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @prettier
|
|
3
|
+
*/
|
|
4
|
+
/// <reference types="node" />
|
|
5
|
+
import { BaseCoin as StaticsBaseCoin, CoinFamily } from '@bitgo-beta/statics';
|
|
6
|
+
import { BaseCoin, BitGoBase, KeyPair, ParsedTransaction, ParseTransactionOptions as BaseParseTransactionOptions, SignedTransaction, SignTransactionOptions as BaseSignTransactionOptions, TransactionExplanation, VerifyAddressOptions, VerifyTransactionOptions, Eddsa, MPCAlgorithm } from '@bitgo-beta/sdk-core';
|
|
7
|
+
import * as request from 'superagent';
|
|
8
|
+
export interface SignTransactionOptions extends BaseSignTransactionOptions {
|
|
9
|
+
txPrebuild: TransactionPrebuild;
|
|
10
|
+
prv: string;
|
|
11
|
+
}
|
|
12
|
+
export interface TransactionPrebuild {
|
|
13
|
+
txHex: string;
|
|
14
|
+
key: string;
|
|
15
|
+
blockHash: string;
|
|
16
|
+
nonce: number;
|
|
17
|
+
}
|
|
18
|
+
export interface ExplainTransactionOptions {
|
|
19
|
+
txPrebuild: TransactionPrebuild;
|
|
20
|
+
publicKey: string;
|
|
21
|
+
feeInfo: {
|
|
22
|
+
fee: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export interface VerifiedTransactionParameters {
|
|
26
|
+
txHex: string;
|
|
27
|
+
prv: string;
|
|
28
|
+
signer: string;
|
|
29
|
+
}
|
|
30
|
+
export interface NearParseTransactionOptions extends BaseParseTransactionOptions {
|
|
31
|
+
txPrebuild: TransactionPrebuild;
|
|
32
|
+
publicKey: string;
|
|
33
|
+
feeInfo: {
|
|
34
|
+
fee: string;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
interface TransactionOutput {
|
|
38
|
+
address: string;
|
|
39
|
+
amount: string;
|
|
40
|
+
}
|
|
41
|
+
interface RecoveryOptions {
|
|
42
|
+
userKey: string;
|
|
43
|
+
backupKey: string;
|
|
44
|
+
bitgoKey: string;
|
|
45
|
+
recoveryDestination: string;
|
|
46
|
+
krsProvider?: string;
|
|
47
|
+
walletPassphrase: string;
|
|
48
|
+
}
|
|
49
|
+
interface NearTx {
|
|
50
|
+
serializedTx: string;
|
|
51
|
+
}
|
|
52
|
+
interface NearTxBuilderParamsFromNode {
|
|
53
|
+
nonce: number;
|
|
54
|
+
blockHash: string;
|
|
55
|
+
}
|
|
56
|
+
interface NearFeeConfig {
|
|
57
|
+
sendSir: number;
|
|
58
|
+
sendNotSir: number;
|
|
59
|
+
execution: number;
|
|
60
|
+
}
|
|
61
|
+
interface ProtocolConfigOutput {
|
|
62
|
+
storageAmountPerByte: number;
|
|
63
|
+
transferCost: NearFeeConfig;
|
|
64
|
+
receiptConfig: NearFeeConfig;
|
|
65
|
+
}
|
|
66
|
+
declare type TransactionInput = TransactionOutput;
|
|
67
|
+
export interface NearParsedTransaction extends ParsedTransaction {
|
|
68
|
+
inputs: TransactionInput[];
|
|
69
|
+
outputs: TransactionOutput[];
|
|
70
|
+
}
|
|
71
|
+
export declare type NearTransactionExplanation = TransactionExplanation;
|
|
72
|
+
export declare class Near extends BaseCoin {
|
|
73
|
+
protected readonly _staticsCoin: Readonly<StaticsBaseCoin>;
|
|
74
|
+
constructor(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>);
|
|
75
|
+
protected static initialized: boolean;
|
|
76
|
+
protected static MPC: Eddsa;
|
|
77
|
+
protected network: string;
|
|
78
|
+
static createInstance(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>): BaseCoin;
|
|
79
|
+
allowsAccountConsolidations(): boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Flag indicating if this coin supports TSS wallets.
|
|
82
|
+
* @returns {boolean} True if TSS Wallets can be created for this coin
|
|
83
|
+
*/
|
|
84
|
+
supportsTss(): boolean;
|
|
85
|
+
getMPCAlgorithm(): MPCAlgorithm;
|
|
86
|
+
supportsStaking(): boolean;
|
|
87
|
+
getChain(): string;
|
|
88
|
+
getBaseChain(): string;
|
|
89
|
+
getFamily(): CoinFamily;
|
|
90
|
+
getFullName(): string;
|
|
91
|
+
getBaseFactor(): any;
|
|
92
|
+
/**
|
|
93
|
+
* Flag for sending value of 0
|
|
94
|
+
* @returns {boolean} True if okay to send 0 value, false otherwise
|
|
95
|
+
*/
|
|
96
|
+
valuelessTransferAllowed(): boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Generate ed25519 key pair
|
|
99
|
+
*
|
|
100
|
+
* @param seed
|
|
101
|
+
* @returns {Object} object with generated pub, prv
|
|
102
|
+
*/
|
|
103
|
+
generateKeyPair(seed?: Buffer): KeyPair;
|
|
104
|
+
/**
|
|
105
|
+
* Return boolean indicating whether input is valid public key for the coin.
|
|
106
|
+
*
|
|
107
|
+
* @param {String} pub the pub to be checked
|
|
108
|
+
* @returns {Boolean} is it valid?
|
|
109
|
+
*/
|
|
110
|
+
isValidPub(pub: string): boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Return boolean indicating whether the supplied private key is a valid near private key
|
|
113
|
+
*
|
|
114
|
+
* @param {String} prv the prv to be checked
|
|
115
|
+
* @returns {Boolean} is it valid?
|
|
116
|
+
*/
|
|
117
|
+
isValidPrv(prv: string): boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Return boolean indicating whether input is valid public key for the coin
|
|
120
|
+
*
|
|
121
|
+
* @param {String} address the pub to be checked
|
|
122
|
+
* @returns {Boolean} is it valid?
|
|
123
|
+
*/
|
|
124
|
+
isValidAddress(address: string): boolean;
|
|
125
|
+
/** @inheritDoc */
|
|
126
|
+
signMessage(key: KeyPair, message: string | Buffer): Promise<Buffer>;
|
|
127
|
+
/**
|
|
128
|
+
* Explain/parse transaction
|
|
129
|
+
* @param params
|
|
130
|
+
*/
|
|
131
|
+
explainTransaction(params: ExplainTransactionOptions): Promise<NearTransactionExplanation>;
|
|
132
|
+
verifySignTransactionParams(params: SignTransactionOptions): VerifiedTransactionParameters;
|
|
133
|
+
/**
|
|
134
|
+
* Assemble keychain and half-sign prebuilt transaction
|
|
135
|
+
*
|
|
136
|
+
* @param params
|
|
137
|
+
* @param params.txPrebuild {TransactionPrebuild} prebuild object returned by platform
|
|
138
|
+
* @param params.prv {String} user prv
|
|
139
|
+
* @param callback
|
|
140
|
+
* @returns {Bluebird<SignedTransaction>}
|
|
141
|
+
*/
|
|
142
|
+
signTransaction(params: SignTransactionOptions): Promise<SignedTransaction>;
|
|
143
|
+
/**
|
|
144
|
+
* Builds a funds recovery transaction without BitGo
|
|
145
|
+
* @param params
|
|
146
|
+
*/
|
|
147
|
+
recover(params: RecoveryOptions): Promise<NearTx>;
|
|
148
|
+
/**
|
|
149
|
+
* Make a request to one of the public EOS nodes available
|
|
150
|
+
* @param params.payload
|
|
151
|
+
*/
|
|
152
|
+
protected getDataFromNode(params: {
|
|
153
|
+
payload?: Record<string, unknown>;
|
|
154
|
+
}): Promise<request.Response>;
|
|
155
|
+
protected getAccessKey({ accountId, bs58EncodedPublicKey, }: {
|
|
156
|
+
accountId: string;
|
|
157
|
+
bs58EncodedPublicKey: string;
|
|
158
|
+
}): Promise<NearTxBuilderParamsFromNode>;
|
|
159
|
+
protected getAccountBalance(accountId: string, storageAmountPerByte: number): Promise<string>;
|
|
160
|
+
protected getProtocolConfig(): Promise<ProtocolConfigOutput>;
|
|
161
|
+
protected getGasPrice(blockHash: string): Promise<string>;
|
|
162
|
+
protected getPublicNodeUrls(): string[];
|
|
163
|
+
parseTransaction(params: NearParseTransactionOptions): Promise<NearParsedTransaction>;
|
|
164
|
+
isWalletAddress(params: VerifyAddressOptions): boolean;
|
|
165
|
+
verifyTransaction(params: VerifyTransactionOptions): Promise<boolean>;
|
|
166
|
+
private getBuilder;
|
|
167
|
+
}
|
|
168
|
+
export {};
|
|
169
|
+
//# sourceMappingURL=near.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"near.d.ts","sourceRoot":"","sources":["../../src/near.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAKH,OAAO,EAAY,QAAQ,IAAI,eAAe,EAAE,UAAU,EAAS,MAAM,qBAAqB,CAAC;AAE/F,OAAO,EACL,QAAQ,EACR,SAAS,EAET,OAAO,EAEP,iBAAiB,EACjB,uBAAuB,IAAI,2BAA2B,EACtD,iBAAiB,EACjB,sBAAsB,IAAI,0BAA0B,EACpD,sBAAsB,EACtB,oBAAoB,EACpB,wBAAwB,EACxB,KAAK,EAGL,YAAY,EAGb,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AAItC,MAAM,WAAW,sBAAuB,SAAQ,0BAA0B;IACxE,UAAU,EAAE,mBAAmB,CAAC;IAChC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM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