This is my first SuApp to call the ChatGPT API with a smart contract using the SUAVE execution environment.
- Geth
- Foundry
- Suave
curl -L https://suaveup.flashbots.net | bash
curl -L https://foundry.paradigm.xyz | bash
Make sure you set up eth accounts/ Kettle correctly so you will not suffer in silence!
Confidential Store is crucial as well to emit logs onchain which comes from off chain computation
suave-geth spell conf-request --confidential-input b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291 <your_new_contract_address>
'registerPrivateKeyOffchain()'
your_new_contract_address is your eth address without flares <>
https://suave-alpha.flashbots.net/tutorials/confidential-store
forge build
use spell command to deploy your first suapp
suave-geth spell deploy Magic.sol:Magic
If you made it that far, congrats! you unlocked confidential computing onchain via suave arc.
Additonal link for tutorial: https://www.youtube.com/watch?v=jbEWroViyi8&t=2105s Big Kudos to Andy!
I will create Private Agent locally on my computer and train on my personal data avoid PA costs and intreact with other agents onchain lol :)
Agent to Agent API era starts!