mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
Add support for BEP20 tokens (#3787)
* Update to use wallet core 2.2.9 * Add allowlist and denylist * Create info.json * Update info.json updated BSC info.json Co-authored-by: zachzwei <35627271+zachzwei@users.noreply.github.com>
This commit is contained in:
parent
475b854f41
commit
d1e4d592f0
1
blockchains/bsc/allowlist.json
Normal file
1
blockchains/bsc/allowlist.json
Normal file
|
@ -0,0 +1 @@
|
|||
[]
|
1
blockchains/bsc/denylist.json
Normal file
1
blockchains/bsc/denylist.json
Normal file
|
@ -0,0 +1 @@
|
|||
[]
|
22
blockchains/bsc/info/info.json
Normal file
22
blockchains/bsc/info/info.json
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"name": "Smart Chain",
|
||||
"website": "https://www.binance.org/en/smartChain",
|
||||
"source_code": "https://github.com/binance-chain/whitepaper/blob/master/WHITEPAPER.md",
|
||||
"white_paper": "https://dex-bin.bnbstatic.com/static/Whitepaper_%20Binance%20Smart%20Chain.pdf",
|
||||
"short_description": "A Parallel Binance Chain to Enable Smart Contracts",
|
||||
"description": "This dual-chain architecture will empower its users to build their decentralized apps and digital assets on one blockchain and take advantage of the fast trading to exchange on the other.",
|
||||
"socials": [
|
||||
{
|
||||
"name": "Twitter",
|
||||
"url": "https://twitter.com/binance_dex",
|
||||
"handle": "binance_dex"
|
||||
},
|
||||
{
|
||||
"name": "Reddit",
|
||||
"url": "https://reddit.com/r/BinanceExchange",
|
||||
"handle": "BinanceExchange"
|
||||
}
|
||||
],
|
||||
"explorer": "https://bscscan.com",
|
||||
"research": "https://docs.binance.org/smart-chain/guides/bsc-intro.html"
|
||||
}
|
12
package-lock.json
generated
12
package-lock.json
generated
|
@ -1230,9 +1230,9 @@
|
|||
"integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw=="
|
||||
},
|
||||
"@trustwallet/wallet-core": {
|
||||
"version": "0.0.6",
|
||||
"resolved": "https://registry.npmjs.org/@trustwallet/wallet-core/-/wallet-core-0.0.6.tgz",
|
||||
"integrity": "sha512-8drwuyhFQcgHAEWq8+Gro5X0NZ7TKwNGVmuh5VDUy08fMlYGvw8eIpL6leoNVbS+WDcCDjyGsPuAl0WtHMylzg==",
|
||||
"version": "2.2.9",
|
||||
"resolved": "https://registry.npmjs.org/@trustwallet/wallet-core/-/wallet-core-2.2.9.tgz",
|
||||
"integrity": "sha512-JOb3xQuiYIi6R/Fu0smLAkWDBslCXXK9egUO8P2rjAwlHcKNNfglS15K4MmBQsduAeS3JgYag2x11jpazTQgKQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"protobufjs": "^6.9.0"
|
||||
|
@ -7792,9 +7792,9 @@
|
|||
}
|
||||
},
|
||||
"protobufjs": {
|
||||
"version": "6.9.0",
|
||||
"resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.9.0.tgz",
|
||||
"integrity": "sha512-LlGVfEWDXoI/STstRDdZZKb/qusoAWUnmLg9R8OLSO473mBLWHowx8clbX5/+mKDEI+v7GzjoK9tRPZMMcoTrg==",
|
||||
"version": "6.10.1",
|
||||
"resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.10.1.tgz",
|
||||
"integrity": "sha512-pb8kTchL+1Ceg4lFd5XUpK8PdWacbvV5SK2ULH2ebrYtl4GjJmS24m6CKME67jzV53tbJxHlnNOSqQHbTsR9JQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@protobufjs/aspromise": "^1.1.2",
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
},
|
||||
"homepage": "https://github.com/trustwallet/assets#readme",
|
||||
"devDependencies": {
|
||||
"@trustwallet/wallet-core": "^0.0.6",
|
||||
"@trustwallet/wallet-core": "^2.2.9",
|
||||
"@types/jest": "^25.2.3",
|
||||
"@types/jest-expect-message": "^1.0.2",
|
||||
"@types/node": "^13.13.14",
|
||||
|
|
|
@ -24,6 +24,7 @@ export const Vechain = getChainName(CoinType.vechain);
|
|||
export const Wanchain = getChainName(CoinType.wanchain);
|
||||
export const Waves = getChainName(CoinType.waves);
|
||||
export const Solana = getChainName(CoinType.solana);
|
||||
export const SmartChain = getChainName(CoinType.bsc);
|
||||
|
||||
export const ethForkChains = [
|
||||
Ethereum,
|
||||
|
@ -32,7 +33,8 @@ export const ethForkChains = [
|
|||
TomoChain,
|
||||
GoChain,
|
||||
Wanchain,
|
||||
ThunderCore
|
||||
ThunderCore,
|
||||
SmartChain,
|
||||
];
|
||||
export const stakingChains = [
|
||||
Tezos,
|
||||
|
|
Loading…
Reference in New Issue
Block a user