Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(V2) Implement API endpoints to manage deployments protected by the API key #767

Open
5 tasks
baktun14 opened this issue Jan 31, 2025 · 0 comments
Open
5 tasks

Comments

@baktun14
Copy link
Contributor

baktun14 commented Jan 31, 2025

For each of the following endpoint api-key protected endpoints, we want to abtract away all the blockchain logic of creating the proper transaction payload to sign a transaction. We have example code in both console and akashjs

These should be done individually

  • Create deployment
    • /v1/create-deployment POST
      • Parse and validate SDL
      • Create transaction payload example
      • Sign transaction
    • Payload: technically we should only need the SDL
{
  sdl: string
}
  • Get bids
    • /v1/bids/{dseq}
    • proxy the request to a rpc using the address of the user account associated with the api key
  • Create lease
    • /v1/create-lease POST
    • Create lease payload example
    • Sign transaction
    • Send manifest
    • Payload:
{
 sdl: string,
 dseq: string,
 gseq: string,
 oseq: string,
 provider: string
}
  • Deployment details
  • Update deployment
@baktun14 baktun14 changed the title Implement API endpoints to manage deployments protected by the API key (V2) Implement API endpoints to manage deployments protected by the API key Feb 3, 2025
@anilmurty anilmurty added this to the Managed Wallets API milestone Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants