Got build scripts working

This commit is contained in:
Ethan Frey
2020-01-21 19:26:14 +01:00
parent 45a3f36e85
commit 09218ed942
5 changed files with 61 additions and 4 deletions

3
docker/logs.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
tail -f /root/log/wasmd.log

11
docker/run.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
echo Starting Wasmd...
mkdir -p /root/log
wasmd start --rpc.laddr tcp://0.0.0.0:26657 > /root/log/wasmd.log &
sleep 10
echo Starting Rest Server...
wasmcli rest-server --laddr tcp://0.0.0.0:1317 --trust-node

7
docker/setup.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
wasmd init --chain-id=testing testing
wasmcli keys add validator
wasmd add-genesis-account validator 1000000000stake,1000000000validatortoken
wasmd gentx --name validator
wasmd collect-gentxs