Built with Scaffold-Eth 🔥
⭐ This repo contains both the frontend and smart contracts for the LinkReal platform.
- Install packages as in the Scaffold-Eth docs.
- Setup .env file according to the .env.example file. (Add API Keys for Arbitrum Sepolia. Arb Sepolia is configured as the source chain inside deploy script )
- Run
yarn deployThis will deploy the contracts, verify the contracts and run the02_post_deploy_proceduresscript to setup the contracts. - In
createEASSchemas.tsscript inside hardhat scripts dir, update the below contract addresses with the newly deployed addresses.
- Run the
createEASSchemas.ts( specify the network as arbitrumSepolia ) - Replace the schema uid values inside
/packages/nextjs/settings/config.tswith the values logged to the console from above createEASSchemas.ts script.
- Update the consumer addresses in the chainlink functions subscription.
-
RealEstateToknRegistry.sol - This contract is the main contract that manages the creation of new RealEstateTokens ( ERC 1155 ).
-
LinkRealVerifiedEntities.sol -
