Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/bitcore-cli/src/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ export class Wallet implements IWallet {
const network = this.network === 'livenet' ? 'mainnet' : this.network;
const web3 = new Web3(Constants.PUBLIC_API[chain][network]);
const contract = new web3.eth.Contract(ERC20Abi as any, address);
const token = await contract.methods.symbol().call();
const token = await contract.methods.symbol().call<string>();
const decimals = Number(await contract.methods.decimals().call());
return {
code: token,
Expand Down
331 changes: 2 additions & 329 deletions packages/bitcore-node/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 2 additions & 9 deletions packages/bitcore-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,7 @@
"@metaplex-foundation/mpl-token-metadata": "^3.4.0",
"@metaplex-foundation/umi": "^1.2.0",
"@metaplex-foundation/umi-bundle-defaults": "^1.2.0",
"@solana-program/compute-budget": "^0.7.0",
"@solana-program/memo": "^0.7.0",
"@solana-program/system": "^0.7.0",
"@solana-program/token": "^0.5.1",
"@solana/kit": "^2.1.0",
"@solana/spl-token-registry": "^0.2.4574",
"@solana/spl-token-registry": "0.2.4574",
"abi-decoder": "2.4.0",
"bitcore-client": "^11.4.5",
"bitcore-lib": "^11.4.5",
Expand All @@ -118,9 +113,7 @@
"secp256k1": "4.0.3",
"socket.io": "4.8.1",
"source-map-support": "^0.5.13",
"web3": "1.7.0",
"winston": "3.2.0",
"xrpl": "2.6.0"
"winston": "3.2.0"
},
"gitHead": "e091d99915d099863ad3e78dbe867aa7780191e4"
}
Loading