Skip to content

An experiment in price-based token locking, vesting, staking; introducing a new DeFi primitive - baking.

Notifications You must be signed in to change notification settings

calmdentist/bakery

Repository files navigation

Smart contracts, hardhat environment, tests for bakery.

Test scripts are in test/ folder Deploy scripts are in scripts/ folder Main contracts are in contracts/ folder Libraries by contracts are in libraries/ folder

Prerequisites: Node.js NPM .env file with the following attributes: MAINNET_RPC_URL - url to connect to a mainnet RPC

To install dependencies: npm install

To run hardhat node:

npm install
npm hardhat node

To deploy contracts on local hardhat network:

npx run hardhat scripts/deployLocal.js

To test contracts using test script(s) in test/ folder:

npx run hardhat test

About

An experiment in price-based token locking, vesting, staking; introducing a new DeFi primitive - baking.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published