mirror of
https://github.com/status-im/snt-gas-relay.git
synced 2025-01-27 14:44:47 +00:00
Updating setup for dev
This commit is contained in:
parent
4ff9212dc2
commit
db48083dfb
@ -75,13 +75,13 @@ module.exports = {
|
|||||||
|
|
||||||
development: {
|
development: {
|
||||||
deployment: {
|
deployment: {
|
||||||
accounts: [
|
accounts: [
|
||||||
{
|
{
|
||||||
privateKey: "b2ab40d549e67ba67f278781fec03b3a90515ad4d0c898a6326dd958de1e46fa",
|
privateKey: "b2ab40d549e67ba67f278781fec03b3a90515ad4d0c898a6326dd958de1e46fa",
|
||||||
balance: "10 ether" // You can set the balance of the account in the dev environment
|
balance: "5 ether" // You can set the balance of the account in the dev environment
|
||||||
// Balances are in Wei, but you can specify the unit with its name
|
// Balances are in Wei, but you can specify the unit with its name
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
geth account import test_pk --password config/development/password --datadir .embark/development/datadir/
|
|
||||||
geth account import test2_pk --password config/development/password --datadir .embark/development/datadir/
|
|
||||||
|
|
||||||
echo 'Waiting 5s before unlocking the account'
|
|
||||||
sleep 5s
|
|
||||||
geth --exec "personal.unlockAccount('0xb8d851486d1c953e31a44374aca11151d49b8bb3', 'dev_password', 0)" attach .embark/development/datadir/geth.ipc
|
|
||||||
geth --exec "personal.unlockAccount('0xacB57b896A80FCA848E279e87043d52e84f2c6Db', 'dev_password', 0)" attach .embark/development/datadir/geth.ipc
|
|
||||||
|
|
||||||
STT=`cat chains.json | awk /STT/,/}/ | grep -Pzo "0x[0-9A-Za-z]+"`
|
STT=`cat chains.json | awk /STT/,/}/ | grep -Pzo "0x[0-9A-Za-z]+"`
|
||||||
IdentityFactory=`cat chains.json | awk /IdentityFactory/,/}/ | grep -Pzo "0x[0-9A-Za-z]+"`
|
IdentityFactory=`cat chains.json | awk /IdentityFactory/,/}/ | grep -Pzo "0x[0-9A-Za-z]+"`
|
||||||
SNTController=`cat chains.json | awk /SNTController/,/}/ | grep -Pzo "0x[0-9A-Za-z]+"`
|
SNTController=`cat chains.json | awk /SNTController/,/}/ | grep -Pzo "0x[0-9A-Za-z]+"`
|
||||||
|
@ -1 +0,0 @@
|
|||||||
da7cd207df98f7244dd4f92368c1a50e166b26b66bebb5275fc314e8acf8f570
|
|
@ -1 +0,0 @@
|
|||||||
f942d5d524ec07158df4354402bfba8d928c99d0ab34d0799a6158d56156d986
|
|
Loading…
x
Reference in New Issue
Block a user