melbesnard85 / saddle-contract

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

saddle-contract

codecov CI

The smart contracts behind saddle.finance šŸ¤ 

The contracts are compiled with Hardhat, and tested using Waffle and TypeScript.

Installation

$ npm i

Usage

Build

$ npm run build

Test

$ npm test

Coverage

$ npm run coverage

Deploying contracts to localhost Hardhat EVM

$ npx hardhat node
$ npx hardhat run --network localhost deployment/swap.ts

You can connect to this RPC server via localhost:8545.

Generating GitBook docs

$ npx solidity-docgen --templates=templates

The output in the docs folder should be copied to the appropriate folder in the saddle-docs repo.

About

License:Apache License 2.0


Languages

Language:TypeScript 68.1%Language:Solidity 31.3%Language:Handlebars 0.4%Language:JavaScript 0.1%