Open Campus Hackathon: Semester 1 | EDU Chain Solidity Smart Contract Deployment Demo
Автор: HackQuest
Загружено: 2024-07-17
Просмотров: 240
Описание:
Deploying a smart contract on EDU Chain (Arbitrum Orbit L3 Roll-up) is quite straightforward. It follows the following steps:
Step 1: In the terminal, initiate a project:
forge init (+project name)
Step 2: Run `forge build` to see if the new project compiles correctly.
forge build
Step 3: In the project folder, install the required dependencies:
forge install transmissions11/solmate Openzeppelin/openzeppelin-contracts
Step 4: Import your source code under the folder `src` of your project.
Step 5: Make sure you have enough $EDU in the wallet you will use to deploy the contract. Get the test $EDU here if you don't: https://open-campus-docs.vercel.app/b....
Step 6: When it is successfully deployed, you will receive information on "deployer" address, "deployed to" address, and "transaction hash".
Step 7: Check the information on EDU block explorer by inputting the transaction hash.
https://opencampus-codex.blockscout.com/
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: