🌐

Environments & Networks

More detail about environments and networks
Depending on which environment your application is connecting to, your blockchain transactions will be directed to a specific blockchain network.

Details

Production

Endpoints

Service
Description
URL
Authentication
Endpoint to authenticate
https://login.venly.io
Wallet
Wallet user interface
API
Endpoint for API calls
Connect
Endpoint used by the Widget
🧙 To connect with a personalised Client ID, and access our production environment, please request access one using this form.

Blockchain networks

Blockchain
Network
EVM-compatible
Ethereum
mainnet
Yes
Binance Smart Chain
mainnet
Yes
Bitcoin
mainnet
No
VeChain
mainnet
Yes (with specifics)
Litecoin
mainnet
No
GoChain
mainnet
Yes (with specifics)
Hedera
mainnet
Yes (with specifics)
Aeternity
mainnet
No
NEO
mainnet
No
Matic
mainnet
Yes
ImmutableX (IMX)
mainnet
Yes (with specifics)
Avalanche C-Chain
mainnet
Yes
You are able to use your own nodes by making use of the network parameter.

Staging

Endpoints

Service
Description
URL
Authentication
Endpoint to authenticate
https://login-staging.venly.io
Wallet
Wallet user interface
API
Endpoint for API calls
Connect
Endpoint used by the Widget

Blockchain networks

Blockchain
Network
Ethereum
testnet (Goerli)
Binance Smart Chain
testnet
Bitcoin
testnet (testnet3)
VeChain
testnet
Litecoin
testnet
GoChain
testnet
Hedera
testnet
Aeternity
testnet
NEO
testnet
Matic
testnet (mumbai)
ImmutableX (IMX)
testnet
Avalanche C-Chain
testnet

How to select an environment

By default, you will connect to our production environment
// use production environment
const venlyConnect = new VenlyConnect('CLIENT_ID');
To connect to the staging environment you add the parameter environment
// use staging environment
const venlyConnect = new VenlyConnect('CLIENT_ID', { environment: 'staging'});

How to select a network

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",
"data" : "0x",
"value" : 1.15
}

Switching networks using the web3 provider