Created
December 9, 2020 13:30
-
-
Save Aniket-Engg/66f9b2d4f2e98ace10300eadda1c664a to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.7.4+commit.3f05b770.js&optimize=false&runs=200&gist=
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REMIX EXAMPLE PROJECT | |
Remix example project is the project which is there at the time of very first loading of Remix. It contains mainly 3 directories: | |
'contracts', 'scripts' & 'tests'. | |
'contracts' directory holds 3 contracts with different complexity level. | |
'scripts' directory holds the scripts to deploy a contract using web3.js or ethers.js libraries. | |
'tests' directory contains a test file with unit tests for 'Ballot' contract. | |
DEPLOY CONTRACT | |
A contract can be deployed using the scripts in 'scripts' folder. Currently, they are configured to deploy the 'Storage' contract. | |
For deployment of any other contract, 'contractName' and 'constructorArgs' should be update (along with other code if required). | |
To run a script, just right click on file name and click 'Run'. | |
Consoles from script will appear in remix terminal. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this line is added to create a gist. Empty file is not allowed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment