@tatumio/algo 2.0.1-alpha.365 → 2.0.1-alpha.366

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@tatumio/algo",
3
- "version": "2.0.1-alpha.365",
3
+ "version": "2.0.1-alpha.366",
4
4
  "type": "commonjs",
5
5
  "license": "MIT",
6
6
  "main": "./src/index.js",
7
7
  "types": "./src/index.d.ts",
8
8
  "dependencies": {
9
- "@tatumio/shared-testing-common": "2.0.1-alpha.365",
10
- "@tatumio/api-client": "2.0.1-alpha.365",
9
+ "@tatumio/shared-testing-common": "2.0.1-alpha.366",
10
+ "@tatumio/api-client": "2.0.1-alpha.366",
11
11
  "axios": "^0.26.0",
12
12
  "form-data": "^4.0.0",
13
- "@tatumio/shared-core": "2.0.1-alpha.365",
14
- "@tatumio/shared-abstract-sdk": "2.0.1-alpha.365",
13
+ "@tatumio/shared-core": "2.0.1-alpha.366",
14
+ "@tatumio/shared-abstract-sdk": "2.0.1-alpha.366",
15
15
  "bignumber.js": "^9.0.2",
16
- "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.365",
16
+ "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.366",
17
17
  "algosdk": "^1.13.1",
18
18
  "base32.js": "^0.1.0",
19
19
  "url-parse": "^1.5.10",
@@ -9,21 +9,13 @@ export declare const TatumAlgoSDK: (args: SDKArguments, apiCalls?: AlgoApiCallsT
9
9
  };
10
10
  transaction: {
11
11
  prepare: {
12
- signedTransaction: (body: import("./services/algo.tx").TransferAlgo | import("./services/algo.tx").TransferAlgoKMS, testnet?: boolean, provider?: string) => Promise<string>;
12
+ signedTransaction: (body: import("@tatumio/api-client").TransferAlgo | import("@tatumio/api-client").TransferAlgoKMS, testnet?: boolean, provider?: string) => Promise<string>;
13
13
  };
14
14
  send: {
15
- signedTransaction: (body: import("./services/algo.tx").TransferAlgo | import("./services/algo.tx").TransferAlgoKMS, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash>;
15
+ signedTransaction: (body: import("@tatumio/api-client").TransferAlgo | import("@tatumio/api-client").TransferAlgoKMS | import("@tatumio/api-client").TransferAlgorandBlockchain | import("@tatumio/api-client").TransferAlgorandBlockchainKMS, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").OffchainTransactionSignatureResult | import("@tatumio/api-client").TransactionHash>;
16
16
  };
17
17
  };
18
18
  token: {
19
- asset: {
20
- prepare: {
21
- receive: (body: import("@tatumio/api-client").ReceiveAlgorandAsset | import("@tatumio/api-client").ReceiveAlgorandAssetKMS, testnet?: boolean, provider?: string) => Promise<string>;
22
- };
23
- send: {
24
- receive: (body: import("@tatumio/api-client").ReceiveAlgorandAsset | import("@tatumio/api-client").ReceiveAlgorandAssetKMS, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash>;
25
- };
26
- };
27
19
  receiveAsset: (body: import("@tatumio/api-client").ReceiveAlgorandAsset | import("@tatumio/api-client").ReceiveAlgorandAssetKMS, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash>;
28
20
  fungible: {
29
21
  getFTTransactionByAddress: typeof FungibleTokensErc20OrCompatibleService.erc20GetTransactionByAddress;
@@ -32,27 +24,24 @@ export declare const TatumAlgoSDK: (args: SDKArguments, apiCalls?: AlgoApiCallsT
32
24
  prepare: {
33
25
  createFTSignedTransaction: (body: import("./services/algo.tx").DeployAlgoErc20KMS | import("./services/algo.tx").DeployAlgoErc20, testnet?: boolean, provider?: string) => Promise<string>;
34
26
  transferFTSignedTransaction: (body: import("./services/algo.tx").ChainTransferAlgoErc20 | import("./services/algo.tx").ChainTransferAlgoErc20KMS, testnet?: boolean, provider?: string) => Promise<string>;
35
- burnFTSignedTransaction: (body: import("./services/algo.tx").ChainTransferAlgoErc20 | import("./services/algo.tx").ChainTransferAlgoErc20KMS, testnet?: boolean, provider?: string) => Promise<string>;
27
+ burnFTSignedTransaction: (body: import("./services/algo.tx").ChainBurnAlgoErc20 | import("./services/algo.tx").ChainBurnAlgoErc20KMS, testnet?: boolean, provider?: string) => Promise<string>;
36
28
  };
37
29
  send: {
38
30
  createFTSignedTransaction: (body: import("./services/algo.tx").DeployAlgoErc20KMS | import("./services/algo.tx").DeployAlgoErc20, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash>;
39
31
  transferFTSignedTransaction: (body: import("./services/algo.tx").ChainTransferAlgoErc20 | import("./services/algo.tx").ChainTransferAlgoErc20KMS, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash>;
40
- burnFTSignedTransaction: (body: import("./services/algo.tx").ChainTransferAlgoErc20 | import("./services/algo.tx").ChainTransferAlgoErc20KMS, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash>;
32
+ burnFTSignedTransaction: (body: import("./services/algo.tx").ChainBurnAlgoErc20 | import("./services/algo.tx").ChainBurnAlgoErc20KMS, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash>;
41
33
  };
42
34
  };
43
35
  nft: {
44
- mintNFT: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftMintErc721;
45
- transferNFT: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftTransferErc721;
46
- burnNFT: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftBurnErc721;
47
36
  getNFTAccountBalance: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetBalanceErc721;
48
37
  getNFTContractAddress: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetContractAddress;
49
38
  prepare: {
50
- createNFTSignedTransaction: (body: import("./services/algo.tx").MintNftAlgorandKMS | import("./services/algo.tx").MintNftAlgorand, testnet?: boolean, provider?: string) => Promise<string>;
39
+ createNFTSignedTransaction: (body: import("./services/algo.tx").MintNftAlgoKMS | import("./services/algo.tx").MintNftAlgo | import("./services/algo.tx").MintNftExpressAlgo, testnet?: boolean, provider?: string) => Promise<string>;
51
40
  transferNFTSignedTransaction: (body: import("./services/algo.tx").TransferNftAlgoKMS | import("./services/algo.tx").TransferNftAlgo, testnet?: boolean, provider?: string) => Promise<string>;
52
41
  burnNFTSignedTransaction: (body: import("./services/algo.tx").BurnNftAlgoKMS | import("./services/algo.tx").BurnNftAlgo, testnet?: boolean, provider?: string) => Promise<string>;
53
42
  };
54
43
  send: {
55
- createNFTSignedTransaction: (body: import("./services/algo.tx").MintNftAlgorandKMS | import("./services/algo.tx").MintNftAlgorand, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").FlowMintedResult | import("@tatumio/api-client").SolanaMintedResult | import("@tatumio/api-client").AlgorandMintedResult>;
44
+ createNFTSignedTransaction: (body: import("./services/algo.tx").MintNftAlgoKMS | import("./services/algo.tx").MintNftAlgo | import("./services/algo.tx").MintNftExpressAlgo, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").FlowMintedResult | import("@tatumio/api-client").SolanaMintedResult | import("@tatumio/api-client").AlgorandMintedResult>;
56
45
  transferNFTSignedTransaction: (body: import("./services/algo.tx").TransferNftAlgoKMS | import("./services/algo.tx").TransferNftAlgo, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash>;
57
46
  burnNFTSignedTransaction: (body: import("./services/algo.tx").BurnNftAlgoKMS | import("./services/algo.tx").BurnNftAlgo, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash>;
58
47
  };
@@ -15,15 +15,11 @@ const TatumAlgoSDK = (args, apiCalls = {
15
15
  const web = (0, algo_web_1.algoWeb)(args);
16
16
  const txService = (0, algo_tx_1.algoTxService)({ algoWeb: web }, apiCalls);
17
17
  const _a = (0, shared_blockchain_abstract_1.abstractBlockchainSdk)(Object.assign(Object.assign({}, args), { blockchain })), { nft } = _a, abstractSdk = tslib_1.__rest(_a, ["nft"]);
18
- const { mintNFT, transferNFT, burnNFT, getNFTAccountBalance, getNFTContractAddress } = nft;
18
+ const { getNFTAccountBalance, getNFTContractAddress } = nft;
19
19
  return Object.assign(Object.assign({}, abstractSdk), { algoWeb: web, wallet: (0, algo_wallet_1.algoWallet)(), transaction: txService.native, token: {
20
- asset: txService.asset,
21
20
  receiveAsset: txService.asset.send.receive,
22
21
  fungible: Object.assign(Object.assign({}, txService.fungible), { getFTTransactionByAddress: api_client_1.FungibleTokensErc20OrCompatibleService.erc20GetTransactionByAddress, getFTAccountBalance: api_client_1.FungibleTokensErc20OrCompatibleService.erc20GetBalance, getFTAccountBalances: api_client_1.FungibleTokensErc20OrCompatibleService.erc20GetBalanceAddress }),
23
- nft: Object.assign(Object.assign({}, txService.nft), { mintNFT,
24
- transferNFT,
25
- burnNFT,
26
- getNFTAccountBalance,
22
+ nft: Object.assign(Object.assign({}, txService.nft), { getNFTAccountBalance,
27
23
  getNFTContractAddress }),
28
24
  }, blockchain: {
29
25
  broadcast: api_client_1.AlgorandService.algorandBroadcast,
@@ -1 +1 @@
1
- {"version":3,"file":"algo.sdk.js","sourceRoot":"","sources":["../../../../../../packages/blockchain/algo/src/lib/algo.sdk.ts"],"names":[],"mappings":";;;;AAAA,sDAAiD;AAEjD,oFAA6G;AAC7G,oDAA0G;AAC1G,kDAA6C;AAC7C,wDAAmD;AACnD,gDAAkD;AAGlD,MAAM,UAAU,GAAG,wBAAU,CAAC,IAAI,CAAA;AAE3B,MAAM,YAAY,GAAG,CAC1B,IAAkB,EAClB,WAA6B;IAC3B,2BAA2B,EAAE,wBAAW,CAAC,UAAU,CAAC,IAAI,CAAC,kBAAkB;CAC5E,EACD,EAAE;IACF,MAAM,GAAG,GAAG,I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C9F,mBAAmB,EAAE,mDAAsC,CAAC,eAAe,EAC3E,oBAAoB,EAAE,mDAAsC,CAAC,sBAAsB,GACpF;YACD,GAAG,kCACE,SAAS,CAAC,GAAG,KAChB,oBAAoB;gBACpB,qBAAqB,GACtB;SACF,EACD,UAAU,EAAE;YACV,SAAS,EAAE,4BAAe,CAAC,iBAAiB;YAC5C,QAAQ,EAAE,4BAAe,CAAC,gBAAgB;YAC1C,eAAe,EAAE,4BAAe,CAAC,uBAAuB;YACxD,2BAA2B,EAAE,4BAAe,CAAC,kBAAkB;YAC/D,cAAc,EAAE,4BAAe,CAAC,sBAAsB;YACtD,yBAAyB,EAAE,4BAAe,CAAC,kCAAkC;SAC9E,EACD,cAAc,kCACT,IAAA,6DAAgC,EAAC,EAAE,UAAU,EAAE,CAAC,GAChD,SAAS,CAAC,cAAc,GAE7B,IAAI,EAAE;YACJ,gBAAgB,EAAE,4BAAe,CAAC,wBAAwB;YAC1D,SAAS,EAAE,4BAAe,CAAC,iBAAiB;YAC5C,UAAU,EAAE,4BAAe,CAAC,kBAAkB;SAC/C,IACF;AACH,CAAC,CAAA;AAjDY,QAAA,YAAY,gBAiDxB"}
@@ -1,40 +1,25 @@
1
- import { BurnNftAlgo as ApiBurnNft, BurnNftKMS as ApiBurnNftKMS, // @TODO: set to BurnNftAlgoKMS
2
- ChainTransferAlgoErc20 as ApiChainTransferAlgoErc20, ChainTransferAlgoErc20KMS as ApiChainTransferAlgoErc20KMS, ChainDeployAlgoErc20 as ApiDeployErc20, ChainDeployAlgoErc20KMS as ApiDeployErc20KMS, MintNftAlgorand as ApiMintNftAlgorand, MintNftAlgorandKMS as ApiMintNftAlgorandKMS, OffchainTransactionResult, OffchainTransactionSignatureResult, ReceiveAlgorandAsset, ReceiveAlgorandAssetKMS, TransferAlgo as ApiTransferAlgo, TransferAlgoKMS as ApiTransferAlgoKMS, TransferNftAlgo as ApiTransferNft, TransferNftAlgoKMS as ApiTransferNftKMS } from '@tatumio/api-client';
1
+ import { BurnNftAlgo as ApiBurnNftAlgo, BurnNftAlgoKMS as ApiBurnNftAlgoKMS, ChainTransferAlgoErc20 as ApiChainTransferAlgoErc20, ChainTransferAlgoErc20KMS as ApiChainTransferAlgoErc20KMS, ChainDeployAlgoErc20 as ApiDeployErc20, ChainDeployAlgoErc20KMS as ApiDeployErc20KMS, MintNftAlgorand as ApiMintNftAlgorand, MintNftAlgorandKMS as ApiMintNftAlgorandKMS, MintNftExpressAlgorand as ApiMintNftExpressAlgorand, OffchainTransactionResult, OffchainTransactionSignatureResult, ReceiveAlgorandAsset, ReceiveAlgorandAssetKMS, TransferAlgo as ApiTransferAlgo, TransferAlgoKMS as ApiTransferAlgoKMS, TransferNftAlgo as ApiTransferNftAlgo, TransferNftAlgoKMS as ApiTransferNftAlgoKMS, TransferAlgorandBlockchain as ApiTransferAlgorandBlockchain, TransferAlgorandBlockchainKMS as ApiTransferAlgorandBlockchainKMS, TransferNftAlgoExpress as ApiTransferNftAlgoExpress, ChainBurnAlgoErc20KMS as ApiChainBurnAlgoErc20KMS, ChainBurnAlgoErc20 as ApiChainBurnAlgoErc20 } from '@tatumio/api-client';
3
2
  import { AlgoWeb } from './algo.web';
4
3
  import { WithoutChain } from '@tatumio/shared-abstract-sdk';
5
4
  import { AlgoApiCallsType } from '../../index';
6
- export declare type TransferAlgo = Omit<ApiTransferAlgo, 'senderAccountId'>;
7
- export declare type TransferAlgoKMS = Omit<ApiTransferAlgoKMS, 'senderAccountId'> & {
8
- from: string;
9
- fee: string;
10
- };
11
- export declare type MintNftAlgorandKMS = WithoutChain<ApiMintNftAlgorandKMS> & {
12
- from: string;
13
- url: string;
14
- };
15
- export declare type MintNftAlgorand = WithoutChain<ApiMintNftAlgorand> & {
16
- url: string;
17
- };
18
- export declare type TransferNftAlgoKMS = WithoutChain<ApiTransferNftKMS> & {
19
- from: string;
20
- value: string;
21
- };
22
- export declare type TransferNftAlgo = WithoutChain<ApiTransferNft> & {
23
- value: string;
24
- };
25
- export declare type BurnNftAlgoKMS = WithoutChain<ApiBurnNftKMS> & {
26
- from: string;
27
- };
28
- export declare type BurnNftAlgo = WithoutChain<ApiBurnNft>;
29
- export declare type DeployAlgoErc20KMS = ApiDeployErc20KMS & {
30
- from: string;
31
- url: string;
32
- };
33
- export declare type DeployAlgoErc20 = ApiDeployErc20 & {
34
- url: string;
35
- };
5
+ export declare type TransferAlgo = ApiTransferAlgo;
6
+ export declare type TransferAlgoKMS = ApiTransferAlgoKMS;
7
+ export declare type TransferAlgoBlockchain = ApiTransferAlgorandBlockchain;
8
+ export declare type TransferAlgoBlockchainKMS = ApiTransferAlgorandBlockchainKMS;
9
+ export declare type MintNftAlgoKMS = WithoutChain<ApiMintNftAlgorandKMS>;
10
+ export declare type MintNftAlgo = WithoutChain<ApiMintNftAlgorand>;
11
+ export declare type MintNftExpressAlgo = WithoutChain<ApiMintNftExpressAlgorand>;
12
+ export declare type TransferNftAlgoKMS = WithoutChain<ApiTransferNftAlgoKMS>;
13
+ export declare type TransferNftAlgo = WithoutChain<ApiTransferNftAlgo>;
14
+ export declare type TransferNftAlgoExpress = WithoutChain<ApiTransferNftAlgoExpress>;
15
+ export declare type BurnNftAlgoKMS = WithoutChain<ApiBurnNftAlgoKMS>;
16
+ export declare type BurnNftAlgo = WithoutChain<ApiBurnNftAlgo>;
17
+ export declare type DeployAlgoErc20KMS = WithoutChain<ApiDeployErc20KMS>;
18
+ export declare type DeployAlgoErc20 = WithoutChain<ApiDeployErc20>;
36
19
  export declare type ChainTransferAlgoErc20 = WithoutChain<ApiChainTransferAlgoErc20>;
37
20
  export declare type ChainTransferAlgoErc20KMS = WithoutChain<ApiChainTransferAlgoErc20KMS>;
21
+ export declare type ChainBurnAlgoErc20 = WithoutChain<ApiChainBurnAlgoErc20>;
22
+ export declare type ChainBurnAlgoErc20KMS = WithoutChain<ApiChainBurnAlgoErc20KMS>;
38
23
  declare type SendOffchainResponse = OffchainTransactionResult | OffchainTransactionSignatureResult | {
39
24
  id?: string;
40
25
  } | void;
@@ -88,7 +73,7 @@ export declare const algoTxService: (args: {
88
73
  * @param provider url of the Algorand Server to connect to. If not set, default public server will be used.
89
74
  * @returns transaction data to be broadcast to blockchain.
90
75
  */
91
- burnFTSignedTransaction: (body: ChainTransferAlgoErc20 | ChainTransferAlgoErc20KMS, testnet?: boolean, provider?: string) => Promise<string>;
76
+ burnFTSignedTransaction: (body: ChainBurnAlgoErc20 | ChainBurnAlgoErc20KMS, testnet?: boolean, provider?: string) => Promise<string>;
92
77
  };
93
78
  send: {
94
79
  /**
@@ -114,7 +99,7 @@ export declare const algoTxService: (args: {
114
99
  * @param provider url of the Algorand Server to connect to. If not set, default public server will be used.
115
100
  * @returns transaction id of the transaction in the blockchain.
116
101
  */
117
- burnFTSignedTransaction: (body: ChainTransferAlgoErc20 | ChainTransferAlgoErc20KMS, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash>;
102
+ burnFTSignedTransaction: (body: ChainBurnAlgoErc20 | ChainBurnAlgoErc20KMS, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash>;
118
103
  };
119
104
  };
120
105
  nft: {
@@ -126,7 +111,7 @@ export declare const algoTxService: (args: {
126
111
  * @param provider url of the Algorand Server to connect to. If not set, default public server will be used.
127
112
  * @returns transaction data to be broadcast to blockchain
128
113
  */
129
- createNFTSignedTransaction: (body: MintNftAlgorand | MintNftAlgorandKMS, testnet?: boolean, provider?: string) => Promise<string>;
114
+ createNFTSignedTransaction: (body: MintNftAlgo | MintNftAlgoKMS | MintNftExpressAlgo, testnet?: boolean, provider?: string) => Promise<string>;
130
115
  /**
131
116
  * Sign Algorand transfer NFT transaction with private key locally. Nothing is broadcast to the blockchain.
132
117
  * @param body content of the transaction to broadcast
@@ -152,7 +137,7 @@ export declare const algoTxService: (args: {
152
137
  * @param provider url of the Algorand Server to connect to. If not set, default public server will be used.
153
138
  * @returns transaction id of the transaction in the blockchain
154
139
  */
155
- createNFTSignedTransaction: (body: MintNftAlgorand | MintNftAlgorandKMS, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").FlowMintedResult | import("@tatumio/api-client").SolanaMintedResult | import("@tatumio/api-client").AlgorandMintedResult>;
140
+ createNFTSignedTransaction: (body: MintNftAlgo | MintNftAlgoKMS | MintNftExpressAlgo, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").FlowMintedResult | import("@tatumio/api-client").SolanaMintedResult | import("@tatumio/api-client").AlgorandMintedResult>;
156
141
  /**
157
142
  * Send Algorand Transfer NFT transaction to the blockchain. This method broadcasts signed transaction to the blockchain.
158
143
  * @param body content of the transaction to broadcast
@@ -191,7 +176,7 @@ export declare const algoTxService: (args: {
191
176
  * @param provider url of the Algorand Server to connect to. If not set, default public server will be used.
192
177
  * @returns transaction id of the transaction in the blockchain
193
178
  */
194
- signedTransaction: (body: TransferAlgo | TransferAlgoKMS, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash>;
179
+ signedTransaction: (body: TransferAlgo | TransferAlgoKMS | TransferAlgoBlockchain | TransferAlgoBlockchainKMS, testnet?: boolean, provider?: string) => Promise<OffchainTransactionSignatureResult | import("@tatumio/api-client").TransactionHash>;
195
180
  };
196
181
  };
197
182
  virtualAccount: {
@@ -12,29 +12,49 @@ const shared_abstract_sdk_1 = require("@tatumio/shared-abstract-sdk");
12
12
  const bignumber_js_1 = require("bignumber.js");
13
13
  const algoTxService = (args, apiCalls) => {
14
14
  const prepareSignedTransaction = (body, testnet = false, algoWeb, provider) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
15
- const { balance } = yield apiCalls.getBlockchainAccountBalance(body.account);
16
- const requiredBalance = new bignumber_js_1.BigNumber(body.amount).plus(body.fee || 0.001);
17
- const accountBalance = new bignumber_js_1.BigNumber(balance || 0);
18
- if (accountBalance.isLessThan(requiredBalance)) {
19
- throw new shared_abstract_sdk_1.SdkError({
20
- code: shared_abstract_sdk_1.SdkErrorCode.INSUFFICIENT_FUNDS,
21
- originalError: {
22
- name: shared_abstract_sdk_1.SdkErrorCode.INSUFFICIENT_FUNDS,
23
- message: `Insufficient funds to create transaction from sender account ${body.account} -> available balance is ${accountBalance.toString()}, required balance is ${requiredBalance.toString()}.`,
24
- },
25
- });
15
+ var _a;
16
+ const account = body.from || body.account;
17
+ const to = body.to || body.address;
18
+ const privateKey = body.fromPrivateKey || body.privateKey;
19
+ const from = (0, shared_abstract_sdk_1.isWithSignatureId)(body)
20
+ ? account
21
+ : (0, algo_wallet_1.algoWallet)().generateAddressFromPrivatetKey(privateKey);
22
+ if (body.to) {
23
+ const { balance } = yield apiCalls.getBlockchainAccountBalance(from);
24
+ const requiredBalance = new bignumber_js_1.BigNumber(body.amount).plus(body.fee || 0.001);
25
+ const accountBalance = new bignumber_js_1.BigNumber(balance || 0);
26
+ if (accountBalance.isLessThan(requiredBalance)) {
27
+ throw new shared_abstract_sdk_1.SdkError({
28
+ code: shared_abstract_sdk_1.SdkErrorCode.INSUFFICIENT_FUNDS,
29
+ originalError: {
30
+ name: shared_abstract_sdk_1.SdkErrorCode.INSUFFICIENT_FUNDS,
31
+ message: `Insufficient funds to create transaction from address ${from} -> available balance is ${accountBalance.toString()}, required balance is ${requiredBalance.toString()}.`,
32
+ },
33
+ });
34
+ }
35
+ }
36
+ const algodClient = algoWeb.getClient(testnet, provider);
37
+ const params = yield algodClient.getTransactionParams().do();
38
+ const decoder = new base32_js_1.default.Decoder({ type: 'rfc4648' });
39
+ const enc = new TextEncoder();
40
+ const note = enc.encode((_a = body.senderNote) !== null && _a !== void 0 ? _a : '');
41
+ const bodyn = algosdk.makePaymentTxnWithSuggestedParams(from, to, Number(body.amount) * 1000000, undefined, note, Object.assign(Object.assign({}, params), { fee: Number(body.fee || '0.001') * 1000000, flatFee: true }));
42
+ if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
43
+ return JSON.stringify(bodyn);
26
44
  }
27
- return yield prepareSignedTransaction(body, testnet, algoWeb, provider);
45
+ const secretKey = new Uint8Array(decoder.write(privateKey).buf);
46
+ const signedTxn = bodyn.signTxn(secretKey);
47
+ return Buffer.from(signedTxn).toString('hex');
28
48
  });
29
49
  const prepareCreateNFTSignedTransaction = (body, testnet = false, algoWeb, provider) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
30
- var _a, _b, _c, _d;
50
+ var _b, _c, _d, _e;
31
51
  const algodClient = algoWeb.getClient(testnet, provider);
32
52
  const params = yield algodClient.getTransactionParams().do();
33
53
  const decoder = new base32_js_1.default.Decoder({ type: 'rfc4648' });
34
54
  const from = (0, shared_abstract_sdk_1.isWithSignatureId)(body)
35
55
  ? body.from
36
56
  : (0, algo_wallet_1.algoWallet)().generateAddressFromPrivatetKey(body.fromPrivateKey);
37
- const txn = algosdk.makeAssetCreateTxnWithSuggestedParams(from, undefined, 1, 0, false, from, (_a = body.attr) === null || _a === void 0 ? void 0 : _a.reserve, (_b = body.attr) === null || _b === void 0 ? void 0 : _b.freeze, (_c = body.attr) === null || _c === void 0 ? void 0 : _c.clawback, (_d = body.attr) === null || _d === void 0 ? void 0 : _d.assetUnit, body.name, body.url, undefined, params);
57
+ const txn = algosdk.makeAssetCreateTxnWithSuggestedParams(from, undefined, 1, 0, false, from, (_b = body.attr) === null || _b === void 0 ? void 0 : _b.reserve, (_c = body.attr) === null || _c === void 0 ? void 0 : _c.freeze, (_d = body.attr) === null || _d === void 0 ? void 0 : _d.clawback, (_e = body.attr) === null || _e === void 0 ? void 0 : _e.assetUnit, body.name, body.url, undefined, params);
38
58
  if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
39
59
  return JSON.stringify(txn);
40
60
  }
@@ -52,7 +72,7 @@ const algoTxService = (args, apiCalls) => {
52
72
  if (!body.value) {
53
73
  throw new Error('No value specified');
54
74
  }
55
- const txn = algosdk.makeAssetTransferTxnWithSuggestedParams(from, body.to, undefined, undefined, Number.parseInt(body.value), undefined, Number(body.contractAddress), params, undefined);
75
+ const txn = algosdk.makeAssetTransferTxnWithSuggestedParams(from, body.to, undefined, undefined, Number.parseInt(body.value || '1'), undefined, Number(body.contractAddress), params, undefined);
56
76
  if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
57
77
  return JSON.stringify(txn);
58
78
  }
@@ -110,7 +130,7 @@ const algoTxService = (args, apiCalls) => {
110
130
  const from = (0, shared_abstract_sdk_1.isWithSignatureId)(body)
111
131
  ? body.from
112
132
  : (0, algo_wallet_1.algoWallet)().generateAddressFromPrivatetKey(body.fromPrivateKey);
113
- const txn = algosdk.makeAssetTransferTxnWithSuggestedParams(from, body.to, undefined, undefined, Number.parseInt(body.amount), undefined, Number(body.contractAddress), params, undefined);
133
+ const txn = algosdk.makeAssetTransferTxnWithSuggestedParams(from, body.to, undefined, undefined, Number(body.amount), undefined, Number(body.contractAddress), params, undefined);
114
134
  if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
115
135
  return JSON.stringify(txn);
116
136
  }
@@ -200,7 +220,7 @@ const algoTxService = (args, apiCalls) => {
200
220
  */
201
221
  createFTSignedTransaction: (body, testnet = false, provider) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
202
222
  if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
203
- return api_client_1.ApiServices.fungibleToken.erc20Deploy(body);
223
+ return api_client_1.ApiServices.fungibleToken.erc20Deploy(Object.assign({ chain: api_client_1.Currency.ALGO }, body));
204
224
  }
205
225
  const txData = yield prepareCreateFTSignedTransaction(body, testnet, args.algoWeb, provider);
206
226
  return api_client_1.AlgorandService.algorandBroadcast({
@@ -216,7 +236,7 @@ const algoTxService = (args, apiCalls) => {
216
236
  */
217
237
  transferFTSignedTransaction: (body, testnet = false, provider) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
218
238
  if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
219
- return api_client_1.ApiServices.fungibleToken.erc20Transfer(body);
239
+ return api_client_1.ApiServices.fungibleToken.erc20Transfer(Object.assign({ chain: api_client_1.Currency.ALGO }, body));
220
240
  }
221
241
  const txData = yield prepareTransferFTSignedTransaction(body, testnet, args.algoWeb, provider);
222
242
  return api_client_1.AlgorandService.algorandBroadcast({
@@ -232,7 +252,7 @@ const algoTxService = (args, apiCalls) => {
232
252
  */
233
253
  burnFTSignedTransaction: (body, testnet = false, provider) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
234
254
  if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
235
- return api_client_1.ApiServices.fungibleToken.erc20Burn(body);
255
+ return api_client_1.ApiServices.fungibleToken.erc20Burn(Object.assign({ chain: api_client_1.Currency.ALGO }, body));
236
256
  }
237
257
  const txData = yield prepareBurnFTSignedTransaction(body, testnet, args.algoWeb, provider);
238
258
  return api_client_1.AlgorandService.algorandBroadcast({
@@ -277,8 +297,8 @@ const algoTxService = (args, apiCalls) => {
277
297
  * @returns transaction id of the transaction in the blockchain
278
298
  */
279
299
  createNFTSignedTransaction: (body, testnet = false, provider) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
280
- if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
281
- return api_client_1.ApiServices.nft.nftMintErc721(body);
300
+ if ((0, shared_abstract_sdk_1.isWithSignatureId)(body) || !body.fromPrivateKey) {
301
+ return api_client_1.ApiServices.nft.nftMintErc721(Object.assign({ chain: api_client_1.Currency.ALGO }, body));
282
302
  }
283
303
  const txData = yield prepareCreateNFTSignedTransaction(body, testnet, args.algoWeb, provider);
284
304
  return api_client_1.AlgorandService.algorandBroadcast({
@@ -294,7 +314,7 @@ const algoTxService = (args, apiCalls) => {
294
314
  */
295
315
  transferNFTSignedTransaction: (body, testnet = false, provider) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
296
316
  if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
297
- return api_client_1.ApiServices.nft.nftTransferErc721(body);
317
+ return api_client_1.ApiServices.nft.nftTransferErc721(Object.assign({ chain: api_client_1.Currency.ALGO }, body));
298
318
  }
299
319
  const txData = yield prepareTransferNFTSignedTransaction(body, testnet, args.algoWeb, provider);
300
320
  return api_client_1.AlgorandService.algorandBroadcast({
@@ -310,7 +330,7 @@ const algoTxService = (args, apiCalls) => {
310
330
  */
311
331
  burnNFTSignedTransaction: (body, testnet = false, provider) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
312
332
  if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
313
- return api_client_1.ApiServices.nft.nftBurnErc721(body);
333
+ return api_client_1.ApiServices.nft.nftBurnErc721(Object.assign({ chain: api_client_1.Currency.ALGO }, body));
314
334
  }
315
335
  const txData = yield prepareBurnNFTSignedTransaction(body, testnet, args.algoWeb, provider);
316
336
  return api_client_1.AlgorandService.algorandBroadcast({
@@ -341,7 +361,12 @@ const algoTxService = (args, apiCalls) => {
341
361
  */
342
362
  signedTransaction: (body, testnet = false, provider) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
343
363
  if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
344
- return api_client_1.ApiServices.blockchain.algo.algorandBlockchainTransfer(body);
364
+ if (body.senderAccountId) {
365
+ return api_client_1.ApiServices.offChain.blockchain.algoTransfer(body);
366
+ }
367
+ else {
368
+ return api_client_1.ApiServices.blockchain.algo.algorandBlockchainTransfer(body);
369
+ }
345
370
  }
346
371
  const txData = yield prepareSignedTransaction(body, testnet, args.algoWeb, provider);
347
372
  return api_client_1.AlgorandService.algorandBroadcast({
@@ -360,10 +385,10 @@ const algoTxService = (args, apiCalls) => {
360
385
  * @returns transaction id of the transaction in the blockchain or id of the withdrawal, if it was not cancelled automatically
361
386
  */
362
387
  send: (body, testnet = false, provider) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
363
- if ('signatureId' in body) {
388
+ if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
364
389
  return api_client_1.ApiServices.offChain.blockchain.algoTransfer(body);
365
390
  }
366
- const _e = body, { fee, privateKey } = _e, withdrawal = tslib_1.__rest(_e, ["fee", "privateKey"]);
391
+ const _f = body, { fee, privateKey } = _f, withdrawal = tslib_1.__rest(_f, ["fee", "privateKey"]);
367
392
  const { senderAccountId } = withdrawal;
368
393
  const account = yield api_client_1.AccountService.getAccountByAccountId(senderAccountId);
369
394
  let txData;
@@ -378,6 +403,7 @@ const algoTxService = (args, apiCalls) => {
378
403
  to: body.address,
379
404
  amount: new bignumber_js_1.BigNumber(body.amount).multipliedBy(Math.pow(10, (vc.precision || 0))).toString(),
380
405
  contractAddress: vc.erc20Address,
406
+ fee: body.fee,
381
407
  }, testnet, args.algoWeb, provider);
382
408
  }
383
409
  const { id } = yield api_client_1.ApiServices.offChain.withdrawal.storeWithdrawal(Object.assign(Object.assign({}, withdrawal), { fee: new bignumber_js_1.BigNumber(fee || '0.001').toString() }));
@@ -1 +1 @@
1
- {"version":3,"file":"algo.tx.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/algo/src/lib/services/algo.tx.ts"],"names":[],"mappings":";;;;AAAA,oDAqB4B;AAE5B,yDAAkC;AAClC,yBAAyB;AACzB,aAAa;AACb,kEAA8B;AAC9B,+CAA0C;AAC1C,sEAAsG;AAEtG,+CAAwC;AA0BjC,MAAM,aAAa,GAAG,CAAC,IAA0B,EAAE,QAA0B,EAAE,EAAE;IACtF,MAAM,wBAAwB,GAAG,CAC/B,IAA2E,EAC3E,OAAO,GAAG,KAAK,EACf,OAAgB,EAChB,QAAiB,EACA,EAAE;QACnB,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,QAAQ,CAAC,2BAA2B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;QAC5E,MAAM,eAAe,GAAG,IAAI,wBAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,KAA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,EAAE,KAAK,EAAE,CAAA;qBAChC;iBACF;YACH,CAAC,CAAA;SACF;KACF,CAAA;AACH,CAAC,CAAA;AAhnBY,QAAA,aAAa,iBAgnBzB"}
1
+ {"version":3,"file":"algo.tx.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/algo/src/lib/services/algo.tx.ts"],"names":[],"mappings":";;;;AAAA,oDA2B4B;AAE5B,yDAAkC;AAClC,yBAAyB;AACzB,aAAa;AACb,kEAA8B;AAC9B,+CAA0C;AAC1C,sEAAsG;AAEtG,+CAAwC;AAkCjC,MAAM,aAAa,GAAG,CAAC,IAA0B,EAAE,QAA0B,EAAE,EAAE;IACtF,MAAM,wBAAwB,GAAG,CAC/B,IAAyF,EACzF,OAAO,GAAG,KAAK,EACf,OAAgB,EAChB,QAAiB,EACA,EAAE;;QACnB,MAAM,OAAO,GAAI,IAA+B,CAAC,IAAI,IAAK,IAAqB,CAAC,OAAO,CAAA;QACvF,MAAM,EAAE,GAAI,IAA+B,CAAC,EAAE,IAAK,IAAqB,CAAC,OAAO,CAAA;QAChF,MAAM,UAAU,GAAI,IAA+B,CAAC,cAAc,IAAK,IAAqB,CAAC,UAAU,CAAA;QAEvG,MAAM,IAAI,GAAG,IAAA,uCAAiB,EAAC,IAAmD,CAAC;YACjF,CAAC,CAAC,OAAO;YACT,CAAC,CAAC,IAAA,wBAAU,GAAE,CAAC,8BAA8B,CAAC,UAAU,CAAC,CAAA;QAE3D,IAAK,IAA+B,CAAC,EAAE,EAAE;YACvC,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,QAAQ,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAA;YACpE,MAAM,eAAe,GAAG,IAAI,wBAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,KAAK,CAAC,CAAA;YAC1E,MAAM,cAAc,GAAG,IAAI,wBAAS,CAAC,OAAO,IAAI,CAAC,CAAC,CAAA;YAClD,IAAI,cA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C,EAAE;oBACV,IAAI;wBACF,OAAO,MAAM,wBAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC,EAAG,CAAC,CAAA;qBAC7E;oBAAC,OAAO,CAAC,EAAE;wBACV,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,CAAA;qBAChC;iBACF;YACH,CAAC,CAAA;SACF;KACF,CAAA;AACH,CAAC,CAAA;AA9qBY,QAAA,aAAa,iBA8qBzB"}
@@ -1,5 +1,9 @@
1
1
  import * as algosdk from 'algosdk';
2
2
  import { SDKArguments } from '@tatumio/shared-abstract-sdk';
3
+ export declare enum AlgoNodeType {
4
+ ALGOD = "ALGOD",
5
+ INDEXER = "INDEXER"
6
+ }
3
7
  export interface AlgoWeb {
4
8
  /**
5
9
  * Algod V2 Client
@@ -1,10 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.algoWeb = void 0;
3
+ exports.algoWeb = exports.AlgoNodeType = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const algosdk = tslib_1.__importStar(require("algosdk"));
6
6
  const url_parse_1 = tslib_1.__importDefault(require("url-parse"));
7
7
  const api_client_1 = require("@tatumio/api-client");
8
+ var AlgoNodeType;
9
+ (function (AlgoNodeType) {
10
+ AlgoNodeType["ALGOD"] = "ALGOD";
11
+ AlgoNodeType["INDEXER"] = "INDEXER";
12
+ })(AlgoNodeType = exports.AlgoNodeType || (exports.AlgoNodeType = {}));
8
13
  const algoWeb = (args) => {
9
14
  return {
10
15
  getClient: (testnet, provider) => {
@@ -12,8 +17,11 @@ const algoWeb = (args) => {
12
17
  return new algosdk.Algodv2('', provider, (0, url_parse_1.default)(provider).port);
13
18
  }
14
19
  else {
15
- const endpoint = `${args.url || api_client_1.TATUM_API_CONSTANTS.URL}/${api_client_1.TATUM_API_CONSTANTS.API_VERSION}/blockchain/node/${api_client_1.Currency.ALGO}/`;
16
- return new algosdk.Algodv2({ nodeType: 'ALGOD' }, endpoint);
20
+ const endpoint = `${args.url || api_client_1.TATUM_API_CONSTANTS.URL}/${api_client_1.TATUM_API_CONSTANTS.API_VERSION}/blockchain/node/${api_client_1.Currency.ALGO}/${args.apiKey}`;
21
+ return new algosdk.Algodv2({
22
+ [api_client_1.TATUM_API_CONSTANTS.NODE_TYPE_KEY]: AlgoNodeType.ALGOD,
23
+ [api_client_1.TATUM_API_CONSTANTS.HEADER_API_KEY]: args.apiKey,
24
+ }, endpoint, '');
17
25
  }
18
26
  },
19
27
  getIndexerClient: (testnet, provider) => {
@@ -21,8 +29,11 @@ const algoWeb = (args) => {
21
29
  return new algosdk.Indexer('', provider, (0, url_parse_1.default)(provider).port);
22
30
  }
23
31
  else {
24
- const endpoint = `${args.url || api_client_1.TATUM_API_CONSTANTS.URL}/${api_client_1.TATUM_API_CONSTANTS.API_VERSION}/blockchain/node/${api_client_1.Currency.ALGO}/`;
25
- return new algosdk.Indexer({ nodeType: 'INDEXER' }, endpoint);
32
+ const endpoint = `${args.url || api_client_1.TATUM_API_CONSTANTS.URL}/${api_client_1.TATUM_API_CONSTANTS.API_VERSION}/blockchain/node/${api_client_1.Currency.ALGO}/${args.apiKey}`;
33
+ return new algosdk.Indexer({
34
+ [api_client_1.TATUM_API_CONSTANTS.NODE_TYPE_KEY]: AlgoNodeType.INDEXER,
35
+ [api_client_1.TATUM_API_CONSTANTS.HEADER_API_KEY]: args.apiKey,
36
+ }, endpoint, '');
26
37
  }
27
38
  },
28
39
  };
@@ -1 +1 @@
1
- {"version":3,"file":"algo.web.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/algo/src/lib/services/algo.web.ts"],"names":[],"mappings":";;;;AAAA,yDAAkC;AAClC,kEAA2B;AAC3B,oDAAmE;AAoB5D,MAAM,OAAO,GAAG,CAAC,IAAkB,EAAW,EAAE;IACrD,OAAO;QACL,SAAS,EAAE,CAAC,OAAgB,EAAE,QAAiB,EAAE,EAAE;YACjD,IAAI,QAAQ,EAAE;gBACZ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