Posts

Showing posts with the label crowdfundingsmartcontract

Crowdfunding Smart Contract on Mainnet and Other Networks: A Perfect Tutorial

Image
In this tutorial, we are going to write the complete scripts for the crowdfunding smart contract and organize the files related to the deployment of the smart contract in their own folders. We are also going to create a .env file to keep the private key and Infura project ID somewhere safe. In addition to that, the config file is going to help us categorize different networks with their account addresses. Crowdfunding Smart Contract: Where to Start? To start writing scripts for crowdfunding smart contracts, we are going to modify the code in a way that it will be possible to work with different networks such as Ganache CLI, development, Rinkeby, Mainnet, and so on. The folders and files remain the same and we only modify some of the scripts and add some other files to the project. Follow the steps and read the explanations to understand why we do what we do: 1. Inside the contracts folder, create another folder and name it test. And inside of it create a file called, ...