dYdX Solo-Margin
Ethereum Smart Contracts and TypeScript library used for the dYdX Solo-Margin Trading Protocol
Table of Contents
Security
The smart contracts were audited independently by Bramah Systems and Zeppelin.
All production smart contracts are tested and have 100% branching code-coverage.
Please email any of the maintainers if any security issues are found or suspected.
Development
Compile Contracts
You must be running Docker
npm run build
Compile TypeScript
npm run build:js
Test
Requires docker
Start test node:
docker-compose up
Deploy contracts to test node & run tests:
npm test
Just run tests (contracts must already be deployed to test node)
npm run test_only
Just deploy contracts to test node:
npm run deploy_test
Maintainers
- Brendan Chou
brendan@dydx.exchange
- Antonio Juliano
antonio@dydx.exchange
License
Apache-2.0