Serenity Testnet
Script to add Serenity Testnet to Coin98 and Keplr wallet
by eledra
JavaScript
var foo = async function() {
console.log('start request add Serenity testnet');
await window['keplr'].experimentalSuggestChain({
chainId: "serenity-testnet-001",
chainName: "Aura Serenity TestNet",
rpc: "https://rpc.serenity.aura.network",
rest: "https://lcd.serenity.aura.network",
bip44: {
coinType: 118,
},
bech32Config: {
bech32PrefixAccAddr: "aura",
bech32PrefixAccPub: "aura" + "pub",
bech32PrefixValAddr: "aura" + "valoper",
bech32PrefixValPub: "aura" + "valoperpub",
bech32PrefixConsAddr: "aura" + "valcons",
bech32PrefixConsPub: "aura" + "valconspub",
},
currencies: [{
coinDenom: "AURA",
coinMinimalDenom: "uaura",
coinDecimals: 6,
// coinGeckoId: "aura",
}, ],
feeCurrencies: [{
coinDenom: "AURA",
coinMinimalDenom: "uaura",
coinDecimals: 6,
// coinGeckoId: "uaura",
}, ],
stakeCurrency: {
coinDenom: "AURA",
coinMinimalDenom: "uaura",
coinDecimals: 6,
// coinGeckoId: "uaura",
},
coinType: 118,
gasPriceStep: {
low: 0.001,
average: 0.0025,
high: 0.004
},
features: ['no-legacy-stdTx'],
walletUrlForStaking: "https://serenity.aurascan.io/validators",
logo: "https://i.imgur.com/zi0mTYb.png",
explorer: "https://serenity.aurascan.io/"
});
console.log('finish request add Serenity testnet');
};
setTimeout(() => {
foo()
console.log(window.keplr)
}, 1001);
console.log('Welcome to Serenity');