Melon Protocol Specification
See our wiki or read our whitepaper for more information.
- EtherToken 0x7506c7BfED179254265d443856eF9bda19221cD7
- MelonToken 0x4dffea52b0b4b48c71385ae25de41ce6ad0dd5a7
- BitcoinToken 0x9E4C56a633DD64a2662bdfA69dE4FDE33Ce01bdd
- EuroToken 0xC151b622fDeD233111155Ec273BFAf2882f13703
- RepToken 0xF61b8003637E5D5dbB9ca8d799AB54E5082CbdBc
- Melon Universe 0x7e56AD30007801ABbD5595C6FA232E4FCF72F667
- Melon version of original OasisDex implementation 0xe4183415d59F0A619654fA1D9898472C5EA852Ab
-
Clone this repository
git clone [email protected]:melonproject/protocol.git cd protocol
-
Install dependencies, such as Truffle (requires NodeJS 5.0+) and Testrpc:
npm install
After installation is complete, go to the above protocol
directory, open a terminal and:
-
Launch a testrpc client:
node_modules/.bin/testrpc
-
Open a second terminal and run the test framework:
node_modules/.bin/truffle test
After installation is complete, go to the above protocol
directory, open a terminal and run:
npm run lint
After installation is complete, go to the above protocol
directory, open a terminal and:
-
Launch a ethereum client. For example something similar to this:
parity --chain kovan --author <some address> --unlock <some address> --password <some password file>
-
Open a second terminal and deploy contracts using truffle
truffle migrate