GeekLabX / orion-exchange

Exchange contracts for the Orion Protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

orion-exchange

Exchange contracts for the Orion Protocol

Compiling

Compilation rely onto Truffle. Truffle can be installed by

npm install -g truffle

Contract compilation

git clone https://github.com/orionprotocol/orion-exchange
cd orion-exchange
npm install
truffle compile

Testing

Adjust truffle-config.js: update ip and port of testing network node (ganache is recommended).

Note, order tests are now imply that second and third accounts have private keys 0xc09ae3abc13c501fb9ff1c3c8ad3256678416f73a41433411f1714ae7b547fe3 and ecbcd49667c96bcf8b30ccb35234a0b217ea039a8e097d3a70de9d28624ba520 correspondignly.

Tests can be run with:

truffle test

About

Exchange contracts for the Orion Protocol


Languages

Language:JavaScript 65.2%Language:Solidity 34.3%Language:HTML 0.4%Language:Python 0.0%