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

Handle transactions without royalties #59

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

DataKnox
Copy link

Regarding issue #58 , this was because the buyer chose not to have royalties. In the original /src/lib/marketplaces/helpers.ts file, this block exists:
} else if (transfers.length === 1) { // There should be more than one transfers as all NFT contains royalties and seller revenue return null; }
This is invalid because royalties are now optional and it seems most buyers choose not to pay them.

Also. yarn.lock causes the Dockerfile to fail building, and even then it still fails to build because of a type conflict. So I just tore the dockerfile down entirely.

@psavva
Copy link

psavva commented Dec 20, 2022

@kryptoj Please could you review this PR?

@DataKnox
Copy link
Author

Thoughts on this?

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

2 participants