@sentio/sentio-hardhat
v1.0.4
Published
https://www.npmjs.com/package/@sentio/sentio-hardhat
Downloads
6
Keywords
Readme
sentio-hardhat
https://www.npmjs.com/package/@sentio/sentio-hardhat
Usage
- Install dependencies
yarn add -D @sentio/cli @sentio/sentio-hardhat
- Login with sentio sdk
npx sentio login
- Import sentio plugin and specify the project in
hardhat.config.ts
import "@sentio/sentio-hardhat"
const config: HardhatUserConfig = {
sentio: {
project: "longw/default"
}
}
- Upload and verify contracts with CLI
npx hardhat sentio:upload Contract1,Contract2
npx hardhat sentio:verify --contract Contract2 --address 0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b --chain 137