/endavacoin

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Ethereum Example Token

The code in this directory is the simple Solidity contract, within a Truffle project.

If you have Truffle and a suitable Ethereum node available (start with testrpc if in doubt) then you can run:

$ truffle compile
$ truffle test
$ truffle migrate

The truffle.js file defines the Ethereum networks that Truffle can deploy to. The one named "development" is the default, use --network to specify one of the others (updating the file if needed to identify the node you'll be using for each network you want to use).

In the scripts directory you will also find plain JavaScript files for deploying, creating instances of and calling the contract, which can be useful if you want to deploy and use the contracts without needing Truffle.