mint and set uri
This commit is contained in:
parent
79162847b4
commit
051a8b9b27
@ -8,6 +8,8 @@ module.exports = async function main(callback) {
|
||||
await badgeInstance.batchMint(account, 1);
|
||||
console.log(`success mint`);
|
||||
}
|
||||
await badgeInstance.updateBaseURI("https://gateway.pinata.cloud/ipfs/QmY6AS9NwbZERqoRRfLUwqwwBRepAhu2M4hkj39XRUfYro");
|
||||
console.log("update uri over!")
|
||||
callback(0);
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
|
450
package-lock.json
generated
450
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -36,6 +36,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@openzeppelin/contracts": "^4.5.0",
|
||||
"fs-jetpack": "^5.1.0"
|
||||
"fs-jetpack": "^5.1.0",
|
||||
"truffle-flattener": "^1.6.0"
|
||||
}
|
||||
}
|
||||
|
BIN
single.sol
Normal file
BIN
single.sol
Normal file
Binary file not shown.
@ -158,8 +158,8 @@ module.exports = {
|
||||
production: true,
|
||||
disableConfirmationListener: true,
|
||||
from: arbOneAddr,
|
||||
gas: 10000000, // Gas sent with each transaction (default: ~6700000)
|
||||
gasPrice: 500000000, // 20 gwei (in wei) (default: 100 gwei)
|
||||
gas: 1000000, // Gas sent with each transaction (default: ~6700000)
|
||||
gasPrice: 5000000000, // 20 gwei (in wei) (default: 100 gwei)
|
||||
},
|
||||
kcc_testnet: {
|
||||
provider: () =>
|
||||
|
Loading…
x
Reference in New Issue
Block a user