@sentio/hardhat-sentio
v1.1.0
Published
https://www.npmjs.com/package/@sentio/hardhat-sentio
Downloads
5
Keywords
Readme
hardhat-sentio
https://www.npmjs.com/package/@sentio/hardhat-sentio
Usage
- Install dependencies
yarn add -D @sentio/cli @sentio/hardhat-sentio
- Login with sentio sdk
npx sentio login
- Import sentio plugin and specify the project in
hardhat.config.ts
import "@sentio/hardhat-sentio"
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