This is an example Ethereum DApp that includes a sample Ethereum smart contract, as well as a simple Server / Frontend for interacting with that contract.
This repo currently powers:
The contract works by storing a single string that users can change by paying a fee. Once the string is changed, the fee to change it again doubles.
- Cone this repo into your
go get -u "golang.org/x/crypto/..."because glide sucks
go build "github.com/richardartoul/worlds" && ./server
- Install truffle
npm install -g truffle
npm installin the contract directory
truffle compilein the contract directory