npm install
Set an environmental variable and reboot:
export NODE_OPTIONS=--max_old_space_size=4096
ext install JuanBlanco.solidity
ext install esbenp.prettier-vscode
To lint the file, run ctrl+shift+i
To lint the whole project, run npm run lint-fix
truffle run verify <list_of_contracts> --network <network_from_truffle-config>
npx hardhat verify --network <network_from_truffle-config> <deployed address> "first constructor arg" "second constructor arg" "0x"
Open BMI token contract on Ropsten Etherscan:
Contract
then Write Contract
;Connect to Web3
and connect your wallet;mintArbitrary
:
_to (address)
pass your address;_amount (uint256)
pass amount of tokens you want to mint (you can't mint more than 1 mil BMI);Write
and confirm sending transaction on Metamask;Add Token
in tab Assets;Custom Tokens
and paste address of BMI token 0xa6b0eeb26743c2f98d2a9fa3806afdc724d7b252, save changes;
Note: Amount should be in WEI. Eg. To mint 100 BMI token you should pass 100 * 10^18 == 100000000000000000000.
Open STBL token contract on Ropsten Etherscan:
Contract
then Write Contract
;Connect to Web3
and connect your wallet;mintArbitrary
:
_to (address)
pass your address;_amount (uint256)
pass amount of tokens you want to mint (you can't mint more than 1 mil STBL);Write
and confirm sending transaction on Metamask;Add Token
in tab Assets;Custom Tokens
and paste address of STBL token 0x731973b26bdecc4fd476e2ad87af317d54e729f2, save changes;
Note: Amount should be in WEI. Eg. To mint 100 STBL token you should pass 100 * 10^18 == 100000000000000000000.