Skip to content

Commit

Permalink
Add New Smart Chain (trustwallet#3881)
Browse files Browse the repository at this point in the history
  • Loading branch information
vikmeup authored Sep 9, 2020
1 parent 03dcd95 commit 1d9d09b
Show file tree
Hide file tree
Showing 17 changed files with 57 additions and 5 deletions.
7 changes: 7 additions & 0 deletions blockchains/smartchain/allowlist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
"0x55d398326f99059fF775485246999027B3197955",
"0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c",
"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
"0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56",
"0xF8A0BF9cF54Bb92F17374d9e9A321E6a111a51bD"
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "Tether USD",
"website": "https://tether.to",
"short_description": "The official peg token of USD Tether.",
"explorer": "https://bscscan.com/token/0x55d398326f99059ff775485246999027b3197955",
"research": ""
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "BTCB Token",
"website": "https://binance.org",
"short_description": "Bitcoin BEP2 (BTCB) is a token on Binance Chain issued by Binance, where the price is pegged to BTC at a rate of 1 BTCB = 1 BTC.",
"explorer": "https://bscscan.com/token/0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c",
"research": ""
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "Chainlink Token",
"website": "https://chain.link",
"short_description": "The official peg token of ChainLink Token.",
"explorer": "https://bscscan.com/token/0xf8a0bf9cf54bb92f17374d9e9a321e6a111a51bd",
"research": ""
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "Wrapped BNB",
"website": "https://binance.org",
"short_description": "As the native coin of Binance Chain, BNB has multiple use cases: fueling transactions on the Chain, paying for transaction fees on Binance Exchange, making in-store payments, and many more.",
"explorer": "https://bscscan.com/token/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
"research": "https://research.binance.com/en/projects/bnb"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "BUSD Token",
"website": "https://www.paxos.com/busd",
"short_description": "BUSD is a stablecoin issued by Paxos in partnership with Binance.",
"explorer": "https://bscscan.com/token/0xe9e7cea3dedca5984780bafc599bd69add087d56",
"research": "https://research.binance.com/en/projects/binance-usd"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions blockchains/smartchain/denylist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
7 changes: 7 additions & 0 deletions blockchains/smartchain/info/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "Smart Chain",
"website": "https://www.binance.org/en/smartChain",
"short_description": "A Parallel Binance Chain to Enable Smart Contracts",
"explorer": "https://bscscan.com/",
"research": "https://research.binance.com/en/projects/bnb"
}
Binary file added blockchains/smartchain/info/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"homepage": "https://github.com/trustwallet/assets#readme",
"devDependencies": {
"@trustwallet/wallet-core": "^2.2.9",
"@trustwallet/wallet-core": "^2.2.10",
"@types/jest": "^25.2.3",
"@types/jest-expect-message": "^1.0.2",
"@types/node": "^13.13.14",
Expand Down
4 changes: 3 additions & 1 deletion script/common/blockchains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ 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 SmartChainLegacy = getChainName(CoinType.bsc);
export const SmartChain = getChainName(CoinType.smartchain);

export const ethForkChains = [
Ethereum,
Expand All @@ -34,6 +35,7 @@ export const ethForkChains = [
GoChain,
Wanchain,
ThunderCore,
SmartChainLegacy,
SmartChain,
];
export const stakingChains = [
Expand Down

0 comments on commit 1d9d09b

Please sign in to comment.