Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Get the git repo

git clone git@github.com:dapps-dev-club/blockchain-demo.git
cd blockchain-demo
git fetch origin feat/codestate:feat/codestate
git checkout feat/codestate

Install and start

npm install
npm run start
# open http://localhost:3000/

Code:

const x = (state.x || 0) + args[0];
return { ...state, x };

Arguments:

[1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.