Skip to content

Commit

Permalink
feat(): Add USDT.SOL, POPCAT.SOL, BONK.SOL and WIF.SOL to custody.json (
Browse files Browse the repository at this point in the history
#214)

* feat(): Add USDT.SOL to custody.json

* fix: rename SOL_TOKEN to SOLANA_TOKEN

* feat: add POPCAT.SOL, BONK.SOL and WIF.SOL
  • Loading branch information
vlenoir-bc authored Oct 14, 2024
1 parent d9a5584 commit e2e9439
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 1 deletion.
2 changes: 1 addition & 1 deletion chain/solana/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -2102,7 +2102,7 @@
"displaySymbol": "Bonk",
"logo": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/solana/assets/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263/logo.png",
"name": "Bonk",
"symbol": "Bonk.SOL",
"symbol": "BONK.SOL",
"website": "https://www.bonkcoin.com"
},
{
Expand Down
48 changes: 48 additions & 0 deletions custody.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,18 @@
},
"hwsSettings": null
},
{
"symbol": "BONK.SOL",
"displaySymbol": "Bonk",
"type": "SOLANA_TOKEN",
"nabuSettings": {
"custodialPrecision": 5
},
"hwsSettings": {
"minConfirmations": 1,
"minWithdrawal": 0
}
},
{
"symbol": "BSV",
"displaySymbol": "BSV",
Expand Down Expand Up @@ -1012,6 +1024,18 @@
},
"hwsSettings": null
},
{
"symbol": "POPCAT.SOL",
"displaySymbol": "POPCAT",
"type": "SOLANA_TOKEN",
"nabuSettings": {
"custodialPrecision": 9
},
"hwsSettings": {
"minConfirmations": 1,
"minWithdrawal": 0
}
},
{
"symbol": "POR.CHZ",
"displaySymbol": "POR",
Expand Down Expand Up @@ -1363,6 +1387,18 @@
},
"hwsSettings": null
},
{
"symbol": "USDT.SOL",
"displaySymbol": "USDT",
"type": "SOLANA_TOKEN",
"nabuSettings": {
"custodialPrecision": 6
},
"hwsSettings": {
"minConfirmations": 1,
"minWithdrawal": 0
}
},
{
"symbol": "USDT.TRX",
"displaySymbol": "USDT",
Expand Down Expand Up @@ -1411,6 +1447,18 @@
"minWithdrawal": 0
}
},
{
"symbol": "WIF.SOL",
"displaySymbol": "WIF",
"type": "SOLANA_TOKEN",
"nabuSettings": {
"custodialPrecision": 6
},
"hwsSettings": {
"minConfirmations": 1,
"minWithdrawal": 0
}
},
{
"symbol": "WLUNA",
"displaySymbol": "WLUNA",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "Bonk",
"symbol": "BONK",
"displaySymbol": "Bonk",
"type": "SOLANA_TOKEN",
"decimals": 5,
"status": "active",
"id": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
"website": "https://www.bonkcoin.com"
}
2 changes: 2 additions & 0 deletions scripts/check-lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ def check_currencies(custody_currencies, coins, eth_erc20_tokens, chains, prices
ref = chains.get(native).get(currency.symbol)
elif currency.type == "CELO_TOKEN":
ref = chains.get("CELO").get(currency.symbol)
elif currency.type == "SOLANA_TOKEN":
ref = chains.get("SOL").get(currency.symbol)
else:
yield Error(currency, "Invalid type")
continue
Expand Down

0 comments on commit e2e9439

Please sign in to comment.