geth account import ./iexec_wallet_priv.key
- Install web3j command line utilities: https://docs.web3j.io/command_line.html
- From an iExec DApp folder
npm install
truffle compile --all --network ropsten
for c in $(pwd)/build/contracts/*.json; do web3j truffle generate $c -o /tmp/Factorial -p ec.iex; done
- Fetch codebase and its submodules
git clone --recursive https://github.com/jopasserat/iexec-scala-sdk
- This should only be needed when updating the PoCo submodule
- From the top level directory of this repository, run:
for c in sdk/src/main/resources/PoCo/deployed/contracts/*.json; do
web3j truffle generate $(pwd)/$c -o $(pwd)/abiWrapper/ -p ec.iex
done
sbt "project demo" run
sbt "project sdk" compile