FFP ETH
folders
- api: api for offchain oracle
- ffp_web: web for FFP client
- offchain-oracle: offchain oracles connecting api and onchain oracle
- sc: Oracle and FFP Smart Contract
Steps:
- Initialize network with Kurtosis or Hardhat for dev. Get the private kesy and addresses for the wallets
- Prepare the oracle addresses and the private keys
- Deploy Oracle and FFP Smart Contract with deploy.js script
- Initialize wallets for FFP with initWallet.js and depositWallet.js
- Turn on the offchain oracle server.
- Turn on the api server.
- Run the client web code
- Use it
Kurtosis private eth:
- Make sure installed docker, kurtosis-cli
- Run :
kurtosis run github.com/ethpandaops/ethereum-package --args-file ./network_params.yaml --image-download always
