This is a simple on-chain OTC market for ERC20 Standard Tokens on the Ethereum Blockchain. You can either pick an order from the order book (in which case delivery will happen instantly), or submit a new order yourself.
Oasis PRO is undergoing alpha testing: Proceed at your own risk, and use only small amounts of ETH and MKR.
This dapp uses Meteor as frontend; the contract side can be tested and deployed using dapple.
Usage (for Users)
Ensure you have a locally running ethereum node.
Installation (for Developers)
brew install ethereum(or
- solidity https://solidity.readthedocs.org/en/latest/installing-solidity.html
curl https://install.meteor.com/ | sh
- Global dapple,
npm install -g dapple meteor-build-client
Clone and install:
git clone https://github.com/OasisDEX/oasis-pro.git cd oasis-pro git submodule update --init --recursive npm install npm run build
Usage (for Developers)
You need to build the JS wrappers for the Dapple contracts:
npm run build
To run the frontend, start meteor:
cd frontend npm install meteor
If you got the error message
File not found: build/maker-otc.js or
File not found: build/token-wrapper.js, then you forgot to run the build step from above.
You can access the user interface on http://localhost:3000/
To deploy the frontend to Github Pages:
This project uses the AirBnB style guide for coding standard guidelines. We use ESLint to automatically check for common code problems or style errors. There's an eslintConfig section in frontend/package.json for the configuration of ESLint. You can run the linter with:
cd frontend meteor npm run lint