swaponline / swap.io-networks

A repo with static network, coin, token definitions.
7 stars 10 forks source link

Network priorities #2

Open vladiuz1 opened 3 years ago

vladiuz1 commented 3 years ago

You will see a very exotic network Handshake. Its a non-standard bip44 too, so will need to extend libraries. you may ask why handshake? We will need this network for naming, I am planing to use this decentralized network so we can use it for named accounts in different networks.

vladiuz1 commented 3 years ago

Testcases need to be generated from Ian Coleman's site: https://iancoleman.io/bip39/

VitaliyShulik commented 3 years ago

Polkadot, Kusama - https://raw.githubusercontent.com/paritytech/substrate/master/ss58-registry.json

VitaliyShulik commented 3 years ago

bitcoinjs-extensions - https://github.com/iancoleman/bip39/blob/f50464249c4259a3ca2a953a111f88cc6637357d/src/js/bitcoinjs-extensions.js

segwit parameters - https://github.com/iancoleman/bip39/blob/23f393acfba3f8697f42249965f4acfebae918a2/src/js/segwit-parameters.js

UTXO magic https://github.com/3mporivm/Alter.app/blob/64aca3e31e68e678ed9713fda676302274d42616/src/constants/networks.js

VitaliyShulik commented 3 years ago

Handshake: https://github.com/handshake-org/hsd/blob/c0268de24e48d46f265d2df5cfcd70b97b96d332/lib/protocol/networks.js https://github.com/handshake-org/hsd/blob/2d1cbe9c17b0ad4e8858c06a8f85625dbee35ba9/lib/protocol/genesis.js

vladiuz1 commented 3 years ago

good work @VitaliyShulik , keep'em comming

VitaliyShulik commented 3 years ago

bip44 coinTypes : https://github.com/ebellocchia/bip_utils/blob/be5fd32e504b19c303d856bd9c10fe524515fc96/bip_utils/bip44/bip44_base.py https://github.com/wealdtech/go-slip44/blob/master/cointypes.go

VitaliyShulik commented 3 years ago

trezor settings: https://github.com/trezor/trezor-common/tree/master/defs

VitaliyShulik commented 3 years ago

blockchain info trust wallet: https://github.com/trustwallet/assets/tree/master/blockchains

VitaliyShulik commented 3 years ago

UTXO prefixes - https://github.com/dan-da/coinparams/blob/master/coinprefixes.md

VitaliyShulik commented 3 years ago

Problem with BIP32 There is added complication with wallets that implement other standards, or no standards at all. Bitcoin Core wallet uses a WIF as the hdseed, and yet other wallets like Electrum use different mnemonic schemes to derive the BIP32 root key. Other cryptocurrencies like Monero also use an entirely different mnemonic scheme.

VitaliyShulik commented 3 years ago

Vechain info - https://github.com/vechain/docs/blob/047cdd00cf0eebadb9171a2be09b692fa4aabd4b/others/miscellaneous.md https://docs.vechain.org/thor/learn/two-token-design.html

VitaliyShulik commented 3 years ago

Stellar create hdWallet: https://github.com/iancoleman/bip39/blob/23f393acfba3f8697f42249965f4acfebae918a2/libs/combined/index.js#L77