-
-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Labels
category: featureNew feature or requestNew feature or request
Description
Describe
It'd be really nice to have an easy way to integrate Ape with a framework like FastAPI, so that certain network requests could be handled within a specific network context (including request body validation)
Specification
Not sure how this would work in practice, but something like:
@app.post("/{ecosystem}/{network}/...")
@ape.networks.wrap_context()
def send_transaction(body: ParsedWithApeConverts):
tx = body.target.method(*body.args, sender=settings.sender)
return tx.hashDependencies
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
category: featureNew feature or requestNew feature or request