Searcher Execute – Run actions onchain in the dark forest Freedom to Transact Smart Contracts

Searcher Execute - rely on MEV searchers for on-chain actions

Searcher execute allows any searcher to execute desired tasks onchain.

While this architecture looks similar to a paymaster, the idea here is to simplify for onchain interactions and to decentralize the execution layer.

While users need to initialize transactions, this library and standard is for a decentralized searcher type execution of desired actions with a small expectation of compensation beyond the price of gas configurable by the user.

Examples of desired actions include:

  1. burning an NFT after a certain amount of time
  2. withdrawing from escrow contracts as needed into another smart contract
  3. legacy handlers for defi
  4. setting up “limit” orders
  5. decentralized way to handle liquidation incentive searchers by wrapping a proprietary algorithm in a standard

Registry address:

Example implementation:

The idea is that we can meter the gas required and return double the gas used to fund a searcher to execute a type of action we want.

Searchers can either utilize the requested timestamps for actions or if the timestamp is shown as zero, simulate all functions shown in the registry in an expectation of profit.

Users of the protocol do not need to pick one provider but can just change parameters or scripts if operating conditions change and just need to fund the contract to pay the searchers for their execution.

The idea is this standard is searcher and agent agnostic and released as a hyperstructure solidity SDK.

Challenges you ran into

  • Determining a need, calculating refund amounts and economics.
  • Deploying a demo project without operating searchers on testnet.

Technology used

  • Solidity
  • EVM
  • MEV