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

Feature/marketplace checkout #251

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

Conversation

BellringerQuinn
Copy link
Contributor

@BellringerQuinn BellringerQuinn commented Feb 12, 2025

When looking at this draft PR, it is recommended to first checkout this class diagram: https://github.com/0xsequence/sequence-unity/blob/Feature/marketplaceCheckout/Packages/Sequence-Unity/Sequence/SequenceSDK/Marketplace/ERG_CheckoutModal.mmd

#248 is pre-requisite

Version Increment

Please ensure you have incremented the package version in the package.json as necessary.

  • I have incremented the package.json according to semantic versioning
  • No version increment is needed; the change does not impact SDK or Sample code/assets

Docs Checklist

Please ensure you have addressed documentation updates if needed as part of this PR:

  • I have created a separate PR on the sequence docs repository for documentation updates: Link to docs PR
  • No documentation update is needed for this change.

BellringerQuinn and others added 30 commits September 6, 2024 10:22
…pendant classes to the Integrations assembly so that Marketplace assembly can inherrit from Integrations assembly (using Transak and Sardine)
…tive names and fix implementation to new endpoint configuration and update test namings
…reating separate json converters for each enum
…m told I have invalid calldata when opening the link. I am also needing to mock the gas estimation as my estimator thinks the transaction will revert (which makes sense as I wouldn't be executing)
* FirstCommitForQr

Qr Setup and exposure with link to add funds for the respective order chain id in native token address

* More automatization on adding funds

Detecting specifics straight from collectible order

* Automated inputs for QR

Included automated inputs for adding funds via qr transfer link. Fills Qr with selected order Order component information.

* Updated qr token address setting

Made check for nativetokenaddress placeholder to use in case ChainTokenAddress.Get(),(renamed) and also made some minor ui text updates.

* Standarized to EIP-618 transfer link

It includes all etheremum eip-618 compatible wallets (metamask is such). Also revisions on price names and formats
…ts and tests. Don't allow offers with native currencies.
…lter Sardine tokens responses based on network. Test refactoring.
…h intellisense summaries. Added some pre-emptive error handling for SardineCheckout - throwing exceptions for operations now supported by Sardine like using native tokens
…tatic classes and add tests to confirm they work (using examples from kit)
… wrapper such that we use fixed bytes instead as this is less error prone
…at we don't lose accuracy when sending large numbers via API for an integrator - might as well stay as a modification to the test to confirm this remains the case
…rder - this can be retrieved as any MarketplaceKind that isn't one of the sequence marketplace versions is reservoir OrderbookKind
…or fiat checkout) and updated MarketplaceCheckout interfaces such that they support buying/selling multiple orders for the same item
@BellringerQuinn BellringerQuinn changed the base branch from master to v4-beta February 12, 2025 18:48
Copy link

cloudflare-workers-and-pages bot commented Feb 12, 2025

Deploying sequence-unity with  Cloudflare Pages  Cloudflare Pages

Latest commit: cc11ca7
Status:🚫  Build failed.

View logs

@BellringerQuinn BellringerQuinn changed the base branch from v4-beta to master February 12, 2025 19:30
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.

3 participants