suave-std icon indicating copy to clipboard operation
suave-std copied to clipboard

Collection of helpful smart contracts to build Suapps

Results 10 suave-std issues
Sort by recently updated
recently updated
newest added

If my understanding is correct, the current implementation is not working on Rigil testnet when sending a confidential request that uses an instance of ChatGPT, more on this issue here...

The `vm.ffi` enables running arbitrary commands on your machine, which is dangerous and it is generally advised to use only as a last resort. What you think about writing a...

- add `function query(bytes32 sessionId, string memory prompt)` to [protocols/ChatGPT.sol](https://github.com/flashbots/suave-std/blob/main/src/protocols/ChatGPT.sol) - append `prompt` to an array of prompts in confidential store, keyed/indexed by `sessionId` - calls `ChatGPT.complete` with the previously-cached...

enhancement

- adds `Bundle.simulateBundle(bundleObj)`: syntactical sugar to call `Suave.simulateBundle(encodeSimBundle(bundleObj))` - adds `encodeSimBundle`: encodes `bundleObj` for `Bundle.simulateBundle` ```solidity bundleObj = Bundle.BundleObj({ blockNumber: uint64(bundle.blockNumber + i), minTimestamp: 0, maxTimestamp: 0, txns: bundle.txs, revertingHashes:...

fixes `Random` tests in #74

Afaik add appropriate `package.json` and publish the repo to npm registry ...