Open myanzik opened 1 month ago
hey i would like to work on it, and you have written the title as "Harhat" instead of "Hardhat"
Sure. @Preet-taparia . Just assigned to you
@myanzik the README.md is most probably not updated as few of the instructions are not that clear or outdated like it is asking for cloning rahataid/rahat-platform-nx, and pnpm getEth is no longer there instead geteth is used, and same is case for the documentation, maybe it is because the repository was recently updated but it is causing me few problem with installation.
Few of the instance while installation:
pnpm bootstrap
Though i am able to see Swagger UI using pnpm rahat
But i am not able to use Application
Is this expected behaviour? and should i continue the development, or have i messed up somewhere
@Preet-taparia thanks for pointing out in documentation.
I think its working fine. This is just the backend services. you need to run following in this repo
rahat-core
pnpm rahat
rahat-beneficiary-service
pnpm beneficiary
for frontend you need to run this project rahat-ui
for the task you are working on , you need to go through the apps/contracts and setup the deployment scripts.
In the Rahat project, we need to automate the deployment of three key smart contracts:
RahatAccessManager
,RahatToken
, andRahatTreasury
. These contracts are critical to managing access control, token distribution, and treasury functions within the platform.This issue involves creating deployment scripts using Hardhat-Ignition for automating the process. Hardhat-Ignition is a Hardhat plugin that simplifies complex deployments and handles various contract configurations across different environments. The scripts will ensure seamless contract deployment to specified networks (e.g., local, testnet, mainnet) with the necessary contract dependencies.
Acceptance Criteria:
Deploy Smart Contracts:
Parameter Configuration:
Sequential Deployment:
Contract Interaction Setup:
Deployment to Multiple Networks:
Logging and Feedback:
Tasks:
Install Hardhat-Ignition:
Create Deployment Scripts:
deploy
folder, create separate deployment scripts for each contract:deployRahatAccessManager.ts
deployRahatToken.ts
deployRahatTreasury.ts
References: