- Deploy the client smart contract following the EVM tutorial and record its address;
- Run the Phat Bricks backend following the Phat tutorial. Make sure the
ANCHOR
is set to the address above;- The backend will keep running and listen to the requests from your smart contract;
- Check the backend logs in your console to find the identity of ActionOffchainRollup;
- Setup your smart contract by replacing the arguments in the
./scripts/testnet-set-attestor.ts
and then runnpx hardhat run --network mumbai ./scripts/testnet-set-attestor.ts
underevm
folder; - Append new request by running
npx hardhat run --network mumbai ./scripts/testnet-push-request.ts
, still replace the argument.
forked from Phala-Network/phat-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
heuresfanegarnold/phat-bricks
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Rust 68.4%
- TypeScript 21.2%
- Solidity 9.1%
- Shell 1.1%
- JavaScript 0.2%