-
Notifications
You must be signed in to change notification settings - Fork 1
/
wasmkit.config.js
131 lines (125 loc) · 3.54 KB
/
wasmkit.config.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
const neutron_testnet_accounts = [
{
name: 'account_0',
address: 'neutron1jtdje5vq42sknl22r4wu9sahryu5wcrdqsccjh',
mnemonic: 'category fine rapid trumpet dune early wish under nothing dance property wreck'
},
];
const neutron_localnet_accounts = [
{
name: 'account_0',
address: 'neutron1m9l358xunhhwds0568za49mzhvuxx9ux8xafx2',
mnemonic: 'banner spread envelope side kite person disagree path silver will brother under couch edit food venture squirrel civil budget number acquire point work mass'
},
{
name: 'account_1',
address: 'neutron10h9stc5v6ntgeygf5xf945njqq5h32r54rf7kf',
mnemonic: 'veteran try aware erosion drink dance decade comic dawn museum release episode original list ability owner size tuition surface ceiling depth seminar capable only'
},
{
name: 'account_2',
address: 'neutron14xcrdjwwxtf9zr7dvaa97wy056se6r5erln9pf',
mnemonic: 'obscure canal because tomorrow tribe sibling describe satoshi kiwi upgrade bless empty math trend erosion oblige donate label birth chronic hazard ensure wreck shine'
}
];
const neutron_mainnet_accounts = [
];
const networks = {
neutron_localnet: {
endpoint: 'http://localhost:26657/',
chainId: 'testing-1',
accounts: neutron_localnet_accounts,
fees: {
upload: {
amount: [{ amount: "750000", denom: "untrn" }],
gas: "3000000",
},
init: {
amount: [{ amount: "250000", denom: "untrn" }],
gas: "1000000",
},
exec: {
amount: [{ amount: "250000", denom: "untrn" }],
gas: "1000000",
}
},
},
neutron_testnet: {
endpoint: 'https://rpc-palvus.pion-1.ntrn.tech/',
chainId: 'pion-1',
accounts: neutron_testnet_accounts,
fees: {
upload: {
amount: [{ amount: "750000", denom: "untrn" }],
gas: "3000000",
},
init: {
amount: [{ amount: "250000", denom: "untrn" }],
gas: "1000000",
},
exec: {
amount: [{ amount: "250000", denom: "untrn" }],
gas: "1000000",
}
},
},
neutron_mainnet: {
endpoint: 'https://rpc-kralum.neutron-1.neutron.org',
chainId: 'neutron-1',
accounts: neutron_mainnet_accounts,
fees: {
upload: {
amount: [{ amount: "750000", denom: "untrn" }],
gas: "3000000",
},
init: {
amount: [{ amount: "250000", denom: "untrn" }],
gas: "1000000",
},
exec: {
amount: [{ amount: "250000", denom: "untrn" }],
gas: "1000000",
}
},
},
};
module.exports = {
networks: {
default: networks.neutron_testnet,
testnet: networks.neutron_testnet,
localnet: networks.neutron_localnet,
mainnet: networks.neutron_mainnet,
},
localnetworks: {
juno: {
docker_image: "uditgulati0/juno-node",
rpc_port: 26657,
rest_port: 1317,
flags: ["GAS_LIMIT=10000000", "STAKE_TOKEN=ujunox", "TIMEOUT_COMMIT=5s"],
docker_command: "./setup_and_run.sh juno16g2rahf5846rxzp3fwlswy08fz8ccuwk03k57y",
},
neutron: {
docker_image: "uditgulati0/neutron-node",
rpc_port: 26657,
rest_port: 1317,
flags: ["RUN_BACKGROUND=0"],
},
osmosis: {
docker_image: "uditgulati0/osmosis-node",
rpc_port: 26657,
rest_port: 1317,
flags: [],
docker_command: "/osmosis/setup.sh",
},
},
mocha: {
timeout: 60000
},
rust: {
version: "1.68.0",
},
commands: {
compile: "RUSTFLAGS='-C link-arg=-s' cargo build --release --target wasm32-unknown-unknown",
schema: "cargo run --example schema",
},
};