gligneul / eggroll-template

Template for EggRoll projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example DApp using EggRoll

Minimum template for EggRoll projects.

Generate schema

go generate

Build

sunodo build

Run

sunodo run

Send input

ARGS='{"value": "hi"}' \
INPUT=$(eggroll schema encode --kind advanceEcho --args $ARGS) ; \
sunodo send generic \
    --mnemonic-index=0 \
    --mnemonic-passphrase="test test test test test test test test test test test junk" \
    --chain-id=31337 \
    --rpc-url=http://localhost:8545 \
    --dapp=0x70ac08179605AF2D9e75782b8DEcDD3c22aA4D0C \
    --input=$INPUT \
    --input-encoding=hex

About

Template for EggRoll projects.


Languages

Language:Go 59.2%Language:Dockerfile 40.8%