-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeplr_add_cosmos_testnet.js
54 lines (53 loc) · 1.4 KB
/
keplr_add_cosmos_testnet.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// this is the javascript that you should run in the chrome shell to enable
// a local testnet in keplr
await window.keplr.experimentalSuggestChain({
chainId: "testing",
chainName: "Local gaia testnet",
rpc: "http://localhost:26657",
rest: "http://localhost:1317",
bip44: {
coinType: 118,
},
bech32Config: {
bech32PrefixAccAddr: "cosmos",
bech32PrefixAccPub: "cosmos" + "pub",
bech32PrefixValAddr: "cosmos" + "valoper",
bech32PrefixValPub: "cosmos" + "valoperpub",
bech32PrefixConsAddr: "cosmos" + "valcons",
bech32PrefixConsPub: "cosmos" + "valconspub",
},
currencies: [
{
coinDenom: "ATOM",
coinMinimalDenom: "uatom",
coinDecimals: 6,
coinGeckoId: "cosmos",
},
{
coinDenom: "STAKE",
coinMinimalDenom: "stake",
coinDecimals: 6,
coinGeckoId: "cosmos",
}
],
feeCurrencies: [
{
coinDenom: "STAKE",
coinMinimalDenom: "stake",
coinDecimals: 6,
coinGeckoId: "cosmos",
},
],
stakeCurrency: {
coinDenom: "STAKE",
coinMinimalDenom: "stake",
coinDecimals: 6,
coinGeckoId: "cosmos",
},
coinType: 118,
gasPriceStep: {
low: 0.01,
average: 0.025,
high: 0.03,
},
});