Skip to content

Commit a3b5b05

Browse files
committed
add bitcoin
1 parent a763cbe commit a3b5b05

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/util/blockchains.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
const BLOCKCHAINS = {
22
EOSIO:'EOSIO',
33
ETH:'Ethereum',
4-
TRX:'Tron'
4+
TRX:'Tron',
5+
BTC:'Bitcoin',
56
}
67

78
export default BLOCKCHAINS;
@@ -11,6 +12,7 @@ export const convertBlockchain = b => {
1112
case BLOCKCHAINS.EOSIO: return 'eos';
1213
case BLOCKCHAINS.ETH: return 'eth';
1314
case BLOCKCHAINS.TRX: return 'trx';
15+
case BLOCKCHAINS.BTC: return 'btc';
1416
}
1517
}
1618

0 commit comments

Comments
 (0)