-
Notifications
You must be signed in to change notification settings - Fork 0
Multy Backend blockchain URL hierarchy
Vasily Nemkov edited this page Feb 16, 2018
·
1 revision
In order to provide support for multiple blockchains simultaneously, Multy Backend has to support following URI scheme for corresponding API calls:
blockchain_name/subnet_name
, where:
-
blockchain_name
is lowercase, 3-7 letters short blockchain name abbreviation, like 'btc', 'eth', or 'golos', 'waves' -
subnet_name
is lowercase, 3-7 letters short abbreviation of subnet type:- main - for main net
- test - for test net
For Ethereum, test net names are:
- ropsten
- kovan
- rinkeby
While using string ids for communicating with clients, Multy Backend should not store string ids in DB and use numerical representation instead:
-
blockchain_id
is index in https://github.com/satoshilabs/slips/blob/master/slip-0044.md#registered-coin-types, that is:- 0 - BTC
- 2 - LTC
- 60 - ETH
- ...
-
subnet_id
is 0 for main net, 1 for test_net. For Ethereum:- 1 - ROPSTEN
- 2 - KOVAN
- 3 - RINKEBY