https://polygonscan.com/address/0x068bef92987d16ef682ff017b822ca1211401eaf
https://polygonscan.com/address/0xf1c82f5ddb4f1a6a8f3eed2eb25fc39fc6d33fb3
https://polygonscan.com/address/0xf41db445d7eaf45536985ce185ce131fa4b42e68
https://polygonscan.com/address/0xdcdab251151c345ad527851eca783521ea3209e0
Coming soon...
Upgradable ERC721 & ERC1155 Contract.
Using OpenZeppelin contracts.
hardhat compile
Using hardhat to deploy proxy contracts
Contracts can be deployed
hardhat run scripts/deployERC721.js
hardhat run scripts/deployERC1155.js
hardhat run --network <network_name> scripts/<deploy_script>.js
For local deployment ganache must be started and private keys saved into
.secrets.json
secrets.json structure:
{
"POLYGON_TESTNET_PRIVATE_KEY": ["key1","key1"],
"POLYGON_MAINNET_PRIVATE_KEY": ["key1","key1"],
"LOCAL_PRIVATE_KEYS": ["key1","key1"],
}
tests can be run with:
./runGhostMarketERC721_tests.sh
default network is test
or a network parameter can be added
./runGhostMarketERC721_tests.sh polygontestnet
hardhat verify --network <network_name> <0x_contract_address>
Check if verification was a success:
choose a test file
truffle test/<testname>.js
with the .only flag individual test can be run
it.only("should run this test") async function () {
...
}