Updating setup for dev

This commit is contained in:
Richard Ramos 2018-10-10 16:07:20 -04:00
parent 4ff9212dc2
commit db48083dfb
4 changed files with 7 additions and 17 deletions

View File

@ -75,13 +75,13 @@ module.exports = {
development: {
deployment: {
accounts: [
{
privateKey: "b2ab40d549e67ba67f278781fec03b3a90515ad4d0c898a6326dd958de1e46fa",
balance: "10 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
}
]
accounts: [
{
privateKey: "b2ab40d549e67ba67f278781fec03b3a90515ad4d0c898a6326dd958de1e46fa",
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
}
]
}
},

View File

@ -1,12 +1,4 @@
#!/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]+"`
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]+"`

View File

@ -1 +0,0 @@
da7cd207df98f7244dd4f92368c1a50e166b26b66bebb5275fc314e8acf8f570

View File

@ -1 +0,0 @@
f942d5d524ec07158df4354402bfba8d928c99d0ab34d0799a6158d56156d986