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

About wallet types #6

Open
thienhaole92 opened this issue Jul 31, 2020 · 0 comments
Open

About wallet types #6

thienhaole92 opened this issue Jul 31, 2020 · 0 comments

Comments

@thienhaole92
Copy link

`
// zero is deafult of uint32
const (
Zero uint32 = 0
ZeroQuote uint32 = 0x80000000
BTCToken uint32 = 0x10000000
ETHToken uint32 = 0x20000000
)

// wallet type from bip44
const (
// https://github.com/satoshilabs/slips/blob/master/slip-0044.md#registered-coin-types
BTC = ZeroQuote + 0
BTCTestnet = ZeroQuote + 1
LTC = ZeroQuote + 2
DOGE = ZeroQuote + 3
DASH = ZeroQuote + 5
ETH = ZeroQuote + 60
ETC = ZeroQuote + 61
BCH = ZeroQuote + 145
QTUM = ZeroQuote + 2301

// btc token
USDT = BTCToken + 1

// eth token
IOST = ETHToken + 1
USDC = ETHToken + 2

)
`
I can find coint wallet types in this link
https://github.com/satoshilabs/slips/blob/master/slip-0044.md#registered-coin-types
But I can not find USDT IOST USDC wallet type in the link above. Where do I find it?

Thank for great code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant