Skip to content

Solana: port transaction submission API from web3.js #40

Closed

Activity

  1. changed the title [-]port transaction submission API from web3.js[/-] [+]Solana: port transaction submission API from web3.js[/+] on Sep 23, 2022
  2. aniketfuryrocks commented on Sep 28, 2022

    @aniketfuryrocks
    Collaborator

    Willing to work on this

  3. Lioncat2002 commented on Sep 28, 2022

    @Lioncat2002
    Collaborator

    Willing to work on this as well

  4. Lioncat2002 commented on Sep 29, 2022

    @Lioncat2002
    Collaborator

    @mschneider
    Added the requestAirdrop function
    I have two questions before I create a new PR

    1. How do I write a new test
      Since the hash that that gets returned by the rpc client changes everytime
      There isn't really anything that can be compared to check if the test passed.
    2. The rpc_url_ that you seem to be using in all the post request is set to the main net which doesn't have the requestAirdrop method
      So, should I set the post requestAirdrop url to devnet or testnet?
  5. mschneider commented on Sep 30, 2022

    @mschneider
    OwnerAuthor

    requestAidrop should increase the sol balance of the wallet

  6. mschneider commented on Sep 30, 2022

    @mschneider
    OwnerAuthor

    you can specify devnet url when creating the Connection object

  7. linked a pull request that will close this issuePull #40 #42on Oct 7, 2022
  8. added a commit that references this issue on Oct 8, 2022
  9. mschneider commented on Oct 8, 2022

    @mschneider
    OwnerAuthor

    @Lioncat2002 @aniketfuryrocks

    I noticed that the some of the new methods return json as response type. Please make sure you parse the json responses and created proper types for them, similar to what web3.js does. This will help users of the API to leverage type based auto completion to use the library more efficiently.

  10. aniketfuryrocks commented on Oct 9, 2022

    @aniketfuryrocks
    Collaborator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions