This is a simple secret contract and a React interface, built by following the Secret Network contracts guide
# Also starts nginx to proxy requests to the api server
docker-compose up
# in a new terminal
docker-compose exec secretdev \
secretcli rest-server \
--node tcp://localhost:26657 \
--trust-node \
--laddr tcp://0.0.0.0:1317
git clone https://github.com/enigmampc/SecretNetwork/
# check out develop branch for now
git checkout develop
cd SecretNetwork/cosmwasm-js
# build the JS components
yarn install
yarn build
# start the faucet
cd packages/faucet
yarn dev-start
docker-compose exec secretdev \
secretcli tx send \
a secret1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmenn2dx \
100000000000uscrt --from a \
--keyring-backend test --yes
docker-compose exec secretdev \
secretcli tx send \
a secret1cdycaskx8g9gh9zpa5g8ah04ql0lzkrsxmcnfq \
100000000000uscrt --from a \
--keyring-backend test --yes
cd client
yarn
node scripts/deploy_counter.js
cd client
yarn start:local