@minteeble/smart-contracts

1.0.39 • Public • Published

smart-contracts

Minteeble solidity Smart Contracts library

How to publish/deploy and verify a contract

N.B. before starting please be sure to correctly set variables in .env file.

1. Publish/deploy contract

Run:

$   thirdweb deploy

or

$   thirdweb publish

During contract deployment thirdweb will ask you for constructor arguments. Write them also in arguments.js file:

module.exports = ["TokenName", "SYM", 0, 10000, 5, "CID"];

They will be used during verification on etherscan.

2. verify contract

In order to verify contract run

in testnet:

$   yarn verify-testnet <CONTRACT_ADDRESS>

in mainnet:

$   yarn verify-mainnet <CONTRACT_ADDRESS>

Readme

Keywords

none

Package Sidebar

Install

npm i @minteeble/smart-contracts

Weekly Downloads

0

Version

1.0.39

License

MIT

Unpacked Size

105 kB

Total Files

54

Last publish

Collaborators

  • samuele458