First, before starting the project, you need to install yarn, npm, and node.js.
Then, to install all dependencies, run the following command:
yarn installYou need to create a keygen for each program by running this command:
yarn keygenTo save the keygen, create a file named dev-wallet.json and store your private key in this file.
You’ll need Solana (SOL) to pay transaction fees. To get SOL via airdrop, run the following command:
yarn airdropCreate another wallet, save its private key in the wba-wallet.json file.
Then, to transfer money between wallets, run this command:
yarn transferTo access the smart contract, it’s essential to understand the IDE (Integrated Development Environment) concept, which provides comprehensive tools for software development. For more details, you can visit this link: Intro to Anchor Frontend.
To send a transaction to the contract, use the following command:
yarn enrollAfter the transaction is complete, you can view the transaction details in the dev environment by using the following link: Transaction Details
You can monitor your successful transactions step by step through this link!