Skip to content

heuresfanegarnold/phat-bricks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phat Bricks Version of Oracle

Steps

  1. Deploy the client smart contract following the EVM tutorial and record its address;
  2. Run the Phat Bricks backend following the Phat tutorial. Make sure the ANCHOR is set to the address above;
    1. The backend will keep running and listen to the requests from your smart contract;
  3. Check the backend logs in your console to find the identity of ActionOffchainRollup;
  4. Setup your smart contract by replacing the arguments in the ./scripts/testnet-set-attestor.ts and then run npx hardhat run --network mumbai ./scripts/testnet-set-attestor.ts under evm folder;
  5. Append new request by running npx hardhat run --network mumbai ./scripts/testnet-push-request.ts, still replace the argument.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 68.4%
  • TypeScript 21.2%
  • Solidity 9.1%
  • Shell 1.1%
  • JavaScript 0.2%