Updated on 2026-08-14
This commit is contained in:
parent
ae6ddfbeda
commit
67bc92be89
3 changed files with 17 additions and 1 deletions
|
|
@ -536,6 +536,16 @@
|
|||
"networkId": "decimal/test"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "aptos",
|
||||
"name": "Aptos",
|
||||
"symbol": "APT",
|
||||
"networks": [
|
||||
{
|
||||
"networkId": "aptos/test"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -76,6 +76,8 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? {
|
|||
"decimal/test" -> Blockchain.DecimalTestnet
|
||||
"TODO" -> Blockchain.Vechain // TODO [REDACTED_TASK_KEY]
|
||||
"TODO/test" -> Blockchain.VechainTestnet // TODO [REDACTED_TASK_KEY]
|
||||
"aptos" -> Blockchain.Aptos
|
||||
"aptos/test" -> Blockchain.AptosTestnet
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
|
@ -153,6 +155,8 @@ fun Blockchain.toNetworkId(): String {
|
|||
Blockchain.DecimalTestnet -> "decimal/test"
|
||||
Blockchain.Vechain -> "TODO" // TODO [REDACTED_TASK_KEY]
|
||||
Blockchain.VechainTestnet -> "TODO/test" // TODO [REDACTED_TASK_KEY]
|
||||
Blockchain.Aptos -> "aptos"
|
||||
Blockchain.AptosTestnet -> "aptos/test"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -202,6 +206,8 @@ fun Blockchain.toCoinId(): String {
|
|||
Blockchain.Decimal, Blockchain.DecimalTestnet -> "decimal"
|
||||
Blockchain.Vechain -> "TODO" // TODO [REDACTED_TASK_KEY]
|
||||
Blockchain.VechainTestnet -> "TODO/test" // TODO [REDACTED_TASK_KEY]
|
||||
Blockchain.Aptos -> "aptos"
|
||||
Blockchain.AptosTestnet -> "aptos/test"
|
||||
Blockchain.Unknown -> "unknown"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ spr-client = "3.6.2"
|
|||
# endregion Other libraries
|
||||
|
||||
# region Tangem
|
||||
tangemBlockchainSdk = "develop-444"
|
||||
tangemBlockchainSdk = "develop-447"
|
||||
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
|
||||
tangemCardSdk = "develop-318"
|
||||
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue