Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(): Add USDT.SOL, POPCAT.SOL, BONK.SOL and WIF.SOL to custody.json #214

Merged
merged 4 commits into from
Oct 14, 2024
Merged
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 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
Loading