@sentio/sentio-hardhat
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

sentio-hardhat

https://www.npmjs.com/package/@sentio/sentio-hardhat

Usage

  1. Install dependencies
yarn add -D @sentio/cli @sentio/sentio-hardhat
  1. Login with sentio sdk
npx sentio login
  1. Import sentio plugin and specify the project in hardhat.config.ts
import "@sentio/sentio-hardhat"

const config: HardhatUserConfig = {
  sentio: {
    project: "longw/default"
  }
}
  1. Upload and verify contracts with CLI
npx hardhat sentio:upload Contract1,Contract2

npx hardhat sentio:verify --contract Contract2 --address 0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b --chain 137

Readme

Keywords

none

Package Sidebar

Install

npm i @sentio/sentio-hardhat

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

29.7 kB

Total Files

51

Last publish

Collaborators

  • rnons
  • lzx_lizixing
  • pooytr1
  • allendragon
  • longw
  • zfy0701