Update deploy script and package.json to match the mumbai deploy script
This commit is contained in:
parent
afff3f6f7a
commit
970ede7f62
|
|
@ -1,10 +1,10 @@
|
|||
module.exports = async ({ getNamedAccounts, deployments }) => {
|
||||
const { deploy, log } = deployments;
|
||||
const namedAccounts = await getNamedAccounts();
|
||||
const { privatekey } = namedAccounts;
|
||||
const { privateKey } = namedAccounts;
|
||||
|
||||
const deployResult = await deploy('FleekERC721', {
|
||||
from: privatekey,
|
||||
from: privateKey,
|
||||
args: ['FleekSites', 'FLKSITE'],
|
||||
});
|
||||
if (deployResult.newlyDeployed) {
|
||||
|
|
|
|||
|
|
@ -737,7 +737,7 @@
|
|||
"transactionIndex": 0,
|
||||
"gasUsed": "4039586",
|
||||
"logsBloom": "0x00000004000000000802000000000000080000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002002000000000000000000000800020000400000000000000800000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000004100000000000020000000000000000000000000000000000001000000020000000000000000000000",
|
||||
"blockHash": "0x60560380c01bdfbeaab128fa5211248d6072d2f7a675ff49e35947dc33987cee",
|
||||
"blockHash": "0xd3d74199571a4f40b4af6633ec9153ccdc34a11ad66547fed2dfa1ac540fd29e",
|
||||
"transactionHash": "0x9bbd2193ba51263e584935885aafa1c561f3d6e3a6ac9b672c98f847a3bc423b",
|
||||
"logs": [
|
||||
{
|
||||
|
|
@ -753,7 +753,7 @@
|
|||
],
|
||||
"data": "0x",
|
||||
"logIndex": 0,
|
||||
"blockHash": "0x60560380c01bdfbeaab128fa5211248d6072d2f7a675ff49e35947dc33987cee"
|
||||
"blockHash": "0xd3d74199571a4f40b4af6633ec9153ccdc34a11ad66547fed2dfa1ac540fd29e"
|
||||
},
|
||||
{
|
||||
"transactionIndex": 0,
|
||||
|
|
@ -768,7 +768,7 @@
|
|||
],
|
||||
"data": "0x",
|
||||
"logIndex": 1,
|
||||
"blockHash": "0x60560380c01bdfbeaab128fa5211248d6072d2f7a675ff49e35947dc33987cee"
|
||||
"blockHash": "0xd3d74199571a4f40b4af6633ec9153ccdc34a11ad66547fed2dfa1ac540fd29e"
|
||||
}
|
||||
],
|
||||
"blockNumber": 1,
|
||||
|
|
|
|||
|
|
@ -6,8 +6,10 @@
|
|||
"scripts": {
|
||||
"test": "hardhat test",
|
||||
"format": "prettier --write \"./**/*.{js,ts,sol}\"",
|
||||
"deploy:mumbai": "node scripts/deploy.js --network polygon_mumbai --contract FleekERC721 --param \"Fleek Sites Test\" --param FST",
|
||||
"node:hh": "hardhat node --tags local",
|
||||
"deploy:local": "hardhat deploy --tags local",
|
||||
"deploy:mumbai": "hardhat deploy --tags mumbai",
|
||||
"interact": "npx hardhat run deploy/interact.js --network hardhat",
|
||||
"compile": "hardhat compile"
|
||||
},
|
||||
"repository": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue