akashjs icon indicating copy to clipboard operation
akashjs copied to clipboard

Add more examples for AkashJS library usage

Open anilmurty opened this issue 2 years ago • 2 comments

To help people getting started with using the AkashJS library, it would be great to have a few more examples.

Examples we have here

  • Wallet Creation
  • Estimating Gas
  • Generic Unsigned Transaction (like querying something)
  • Signed Transaction (sending funds)
  • Querying Deployments
  • Take down deployment

Examples we could use:

  • Certificate Management:
    • Generate & Publish Certificate
    • Revoke certificate
  • Deployment Management:
    • Create Deployment
    • Check for bids
    • Create lease from bid
    • List all deployments
    • Get deployment details for a single deployment (by GSEQ)
    • Close Deployment (clean up existing "take down" example)
  • Query Providers
    • List all providers
    • Get details of a single provider
    • Get lease status for a specific lease (to retrieve deployment URI)

anilmurty avatar Feb 08 '23 22:02 anilmurty

I just created a PR #39 to add some basic query providers examples. Wll try to add more examples in the next days

zJuuu avatar Feb 13 '23 22:02 zJuuu

Thanks @zJuuu !

anilmurty avatar Feb 13 '23 23:02 anilmurty