Skip to content

robichi/reading_contract_abi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Sample Hardhat Project

Intended to be a demo for simple introspective access control. Inherits Openzeppelin's AccessControl and builds on it. To use -

npm install 
npx hardhat compile 
npx hardhat --network rinkeby run scripts/deploy.js
npx hardhat --network rinkeby run scripts/interact.js

Note - interact.js registers new roles under the SUPER_ADMIN role. However, the deploying address still does not have access to them. You have to add access using "grantRole" functionality separately. All RoleIDs are present in the events logs, and also provided by our script.

Status - To Be Continued

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors