File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed
Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,29 @@ npx hardhat console --network testnet
105105``` javascript
106106const Contract = await ethers .getContractFactory (' BTREEToken' );
107107const contract = await Contract .attach (
108- ' 0xCa6f24a651bc4Ab545661a41a81EF387086a34C2 '
108+ ' 0x4DE534be4793C52ACc69A230A0318fF1A06aF8A0 '
109109);
110+
111+ // minter role
112+ await contract .grantRole (
113+ ' 0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6' ,
114+ ' 0xa657a18cAaFBdb58536B8Ce366A570CD3dbCAc61'
115+ );
116+ await contract .hasRole (
117+ ' 0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6' ,
118+ ' 0xa657a18cAaFBdb58536B8Ce366A570CD3dbCAc61'
119+ );
120+
121+ // pauser role
122+ await contract .grantRole (
123+ ' 0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a' ,
124+ ' 0x2268E2b8F7640a29752C5c58b8735906F4E84F60'
125+ );
126+ await contract .hasRole (
127+ ' 0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a' ,
128+ ' 0x2268E2b8F7640a29752C5c58b8735906F4E84F60'
129+ );
130+
110131await contract .balanceOf (' 0x7435e7f3e6B5c656c33889a3d5EaFE1e17C033CD' );
111132
112133// mint 5,000,000 BTREE
Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ const config: HardhatUserConfig = {
4141 browserURL : 'https://basescan.org/' ,
4242 } ,
4343 } ,
44-
4544 {
4645 network : 'base sepolia' ,
4746 chainId : 84532 ,
You can’t perform that action at this time.
0 commit comments