https://github.com/crypto-com/swap-contracts-periphery
Peripheral smart contracts for interacting with DeFi Swap
https://github.com/crypto-com/swap-contracts-periphery
Last synced: 5 months ago
JSON representation
Peripheral smart contracts for interacting with DeFi Swap
- Host: GitHub
- URL: https://github.com/crypto-com/swap-contracts-periphery
- Owner: crypto-com
- License: other
- Created: 2020-08-31T05:44:21.000Z (almost 6 years ago)
- Default Branch: develop
- Last Pushed: 2023-02-03T12:47:24.000Z (over 3 years ago)
- Last Synced: 2023-03-03T19:48:46.378Z (over 3 years ago)
- Language: Solidity
- Homepage: https://crypto.com/defi/swap
- Size: 1.53 MB
- Stars: 13
- Watchers: 3
- Forks: 21
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# DeFi Swap
## Local Development
The following assumes the use of `node@>=10`.
## Install Dependencies
`yarn install-all`
## Compile Contracts
`yarn compile`
## Run Tests
`yarn test`
## Deploy to different environments
locally if you've changed some code (e.g. ganache)
`yarn deploy-preparation-ganache`
`yarn update-init-code`
`yarn truffle-migrate-ganache`
CI (e.g. ropsten)
`yarn deploy-preparation-ropsten`
`yarn verify-init-code`
`yarn truffle-migrate-ropsten`