The smart contracts behind saddle.finance š¤
The contracts are compiled with Hardhat, and tested using Waffle and TypeScript.
$ npm i
$ npm run build
$ npm test
$ npm run coverage
$ npx hardhat node
$ npx hardhat run --network localhost deployment/swap.ts
You can connect to this RPC server via localhost:8545
.
$ npx solidity-docgen --templates=templates
The output in the docs
folder should be copied to the appropriate folder in the saddle-docs repo.