This page contains instructions for adding a custom network (Babylon Euphrates devnet) to Keplr.
Unlike Metamask, Keplr does not provide UI support for adding custom networks specified by the wallet user. Rather, one needs to construct the request for adding a custom network and send it to the Kepler wallet extension. The operation is entirely local and does not leak the network information to the Internet. Constructing the request could be done via some online tools like Connect Keplr to local hid network | Hypersign
EDIT ON CODEPEN
in the upper right placeJS
)async function addKeplr() {
window.keplr.experimentalSuggestChain({
"rpc": "<https://rpc-euphrates.devnet.babylonlabs.io:443>",
"rest": "<https://lcd-euphrates.devnet.babylonlabs.io:443>",
"chainId": "euphrates-0.5.0",
"chainName": "Babylon Euphrates devnet",
"stakeCurrency": {
"coinDenom": "bbn",
"coinMinimalDenom": "ubbn",
"coinDecimals": 6,
"coinImageUrl": "<https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/bbn-dev/chain.png>"
},
"bech32Config": {
"bech32PrefixAccAddr": "bbn",
"bech32PrefixAccPub": "bbnpub",
"bech32PrefixValAddr": "bbnvaloper",
"bech32PrefixValPub": "bbnvaloperpub",
"bech32PrefixConsAddr": "bbnvalcons",
"bech32PrefixConsPub": "bbnvalconspub"
},
"bip44": {
"coinType": 118
},
"currencies": [
{
"coinDenom": "bbn",
"coinMinimalDenom": "ubbn",
"coinDecimals": 6,
"coinImageUrl": "<https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/bbn-dev/chain.png>"
}
],
"feeCurrencies": [
{
"coinDenom": "bbn",
"coinMinimalDenom": "ubbn",
"coinDecimals": 6,
"coinImageUrl": "<https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/bbn-dev/chain.png>",
"gasPriceStep": {
"low": 0.007,
"average": 0.007,
"high": 0.01
}
}
],
"gasPriceStep": {
"low": 0.05,
"average": 0.125,
"high": 0.2
},
"features": [
"cosmwasm"
]
});
}
HTML
)<button onclick="addKeplr();" class="keplr"><img src='<https://dodo.hypersign.id/img/keplr_logo.38b8ba20.png>' width="20px" height="20"> <span style='margin-bottom:5px'>Add Babylon Euphrates devnet to Keplr</span></button>
At this point, Babylon Euphrates devnet will be visible in Keplr.