his Project has been built with thethirdweb
cli
npx thirdweb create --contract --template hardhat-javascript-starter
You can start editing the page by modifying contracts/Crowdfunding.sol
.
To add functionality to your contracts, you can use the @thirdweb-dev/contracts
package which provides base contracts and extensions to inherit. The package is already installed with this project. Head to our Contracts Extensions Docs to learn more.
Client side of this smart contract can be found in CrowdFund-Client repository.
After any changes to the contract, run:
npm run build
# or
yarn build
to compile your contracts. This will also detect the Contracts Extensions Docs detected on your contract.
When you're ready to deploy your contracts, just run one of the following command to deploy you're contracts:
npm run deploy
# or
yarn deploy
If you want to release a version of your contracts publicly, you can use one of the followings command:
npm run release
# or
yarn release