decentralized platform for the exchange of legal documents
- Initialize project using :
forge init ChainLegit
- Make the smart contract from src folder
- Install dependencies from openzeppelin using :
forge install OpenZeppelin/openzeppelin-contracts
- The requried openzeppelin contracts will be available in the lib folder
- Often times an error may pop up saying
file import callback not supported
. You can resolve this byforge remappings > remappings.txt
- Build the smart contract using
forge build
- Write the test contract and test it using
forge test
Deployed to thirdweb using the command : npx thirdweb deploy
Pass the deployed contract address to frontend side. You can also interact with the functions in your smart contract on thirdweb. Our smart contract was deployed on the sepolia testnet