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

Add ImmutableX provider #426

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft

Add ImmutableX provider #426

wants to merge 10 commits into from

Conversation

dkillen
Copy link
Collaborator

@dkillen dkillen commented Jun 14, 2023

If merged, this pull request will add TrustImmutableXWeb3Provider

  • Implemented ImmutableXRESTServer to making requests to the ImmutableX REST API
  • Implemented TrustImmutableXWeb3Provider which supports the following operations/methods:
    • getSignableRegistration
    • registerUser
    • getSignableDeposit
    • getSignableWithdrawal
    • getStarkKeys
    • getTokens
    • getTokenDetails
    • getAssets
    • getAssetDetails
    • getBalances
    • getTokenBalances
    • getCollections
    • getCollectionDetails
    • getMints
    • getMintDetails
    • getNftPrimarySales
    • getNftPrimarySaleTransaction
  • Added suite of tests for each of the methods set out above.

David Killen and others added 10 commits June 7, 2023 11:52
- Add TrustImmutableXWeb3Provider with base set of methods.
- Add ImmutableXRESTServer to simplify ImmutableX REST api calls.
- Add further methods to ImmutableXRESTServer
- Add tests for additional methods
- Refactor of ImmutableXRestServer
  - add internal request handler in TrustImmutableXWeb3Provider.
  - moved request methods from ImmutableXRestServer.
  - modifed request methods to use internal request handler.
  - modified tests to account for the refactor.
- Added new request methods to TrustImmutableXWeb3Provider.
  - getCollections
  - getCollectionDetails
- Added tests for new request methods.
- Add further methods for collections, mints and NFT sales.
- Add tests for newly added methods.
- Minor cleanup of provider code and tests.
- Add method to get signable deposit details.
- Add method to get signable withdrawal details.
- Add test for new methods.
- Cleanup comments/documentation.
- Added method getCoreContractAddress()
- Added test for new method.
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

Successfully merging this pull request may close these issues.

None yet

1 participant