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:
Biggest G and Worlds Greatest Human
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
$GOPATH
- Run
glide install
- Run
go get -u "golang.org/x/crypto/..."
because glide sucks - Run
go build "github.com/richardartoul/worlds" && ./server
- Install truffle
npm install -g truffle
- Run
npm install
in the contract directory - Run
truffle test
ortruffle compile
in the contract directory