FantasmFinance / fantasm-contracts

Fractional-Algorithmic Synthetic Token pegged to the value of 1 FTM on Fantom Opera
11 stars 18 forks source link

How can I run this hardhat project? #1

Closed ghost closed 2 years ago

ghost commented 2 years ago

I just compiled the smart contracts using "yarn compile" The project has no tests so I want to deploy the contract but I don't know how I can do this I tried this : npx hardhat run deploy/fantom/000_tools.ts --network fantom But no echo. Any one who deployed with this project? Plz help!!!

ghost commented 2 years ago

When I run "yarn hardhat deploy" I get following error : Error: ERROR processing D:\code\4_fantasm\fantasm-contracts-main\deploy\fantom\000_tools.ts: Error: cannot find artifact "Timelock"

I can't find any Timelock contract in contracts folder. Where can I find it?