Depending on which environment your application is connecting, your blockchain transactions will be directed to a specific blockchain network.
Below you find an overview. It is possible to use different networks or your own infrastructure, by making use of the network
parameter available as an option in several functions.
Service | Description | URL |
Authentication | Endpoint to authenticate | |
Wallet | Wallet user interface | |
API | Endpoint for API calls | |
Connect | Endpoint used by the Widget |
🧙 To connect to our production environment and mainnet, you will need to register your app to get a Client ID.
Blockchain | Network |
Ethereum | mainnet |
Binance Smart Chain | mainnet |
Bitcoin | mainnet |
VeChain | mainnet |
Litecoin | mainnet |
GoChain | mainnet |
Tron | mainnet |
Aeternity | mainnet |
NEO | mainnet |
Matic | mainnet |
You are able to use your own nodes by making use of the network
parameter.
Service | Description | URL |
Authentication | Endpoint to authenticate | |
Wallet | Wallet user interface | |
API | Endpoint for API calls | |
Connect | Endpoint used by the Widget |
Blockchain | Network |
Ethereum | testnet (Kovan) |
Binance Smart Chain | testnet |
Bitcoin | testnet (testnet3) |
VeChain | testnet |
Litecoin | testnet |
GoChain | testnet |
Tron | testnet (shasta) |
Aeternity | testnet |
NEO | testnet |
Matic | testnet (mumbai) |
You are able to use your own nodes, even own testnets by making use of the network
parameter.
By default, you will connect to our production environment
// use production environmentconst arkaneConnect = new ArkaneConnect('CLIENT_ID');
To connect to the staging environment you add the parameter environment
// use staging environmentconst arkaneConnect = new ArkaneConnect('CLIENT_ID', { environment: 'staging'});
By default, you will connect to the blockchain network as described above. Mainnet when connecting to our production environment and a certain testnet when connecting to staging.
//Using the default Kovan Ethereum testnet{"walletId" : "cdc4c08a-b8fa-4e4c-z5a2-92c87b80f174","to" : "0xdc71b72db51e227e65a45004ab2798d31e8934c9","secretType" : "ETHEREUM","data" : "0x","value" : 1.15}
By making use of the network object, you can change the node endpoint. In the example below we are connecting to the Rinkeby Ethereum testnet, instead of the default Kovan testnet.
//Using a custom node to connect to the Rinkeby Ethereum testnet{"walletId" : "cdc4c08a-b8fa-4e4c-z5a2-92c87b80f174","to" : "0xdc71b72db51e227e65a45004ab2798d31e8934c9","secretType" : "VECHAIN","network" : {"name" : "Rinkeby","nodeUrl" : "https://rinkeby.arkane.network","chainId" : null},"data" : "0x","value" : 1.15}