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

wip redeemable example #12

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sBaki92
Copy link

@sBaki92 sBaki92 commented Jul 9, 2024

Here is my WIP for the issue.

As mentioned, in this code I am trying to set up a simple example of ERC7498 exchange.

After deploying two ERC721 redeemable mintable contracts (the second one being for receiving), I created instances of offer, consideration, and trait (which I left empty).
With this setup, I created a campaign and then minted two tokens for user1 and one for user2.

I then tried to simulate an exchange request from user2 (who possesses the token requested by the campaign) but I am facing errors related to insufficient balance or invalid caller.

@sBaki92 sBaki92 marked this pull request as ready for review July 9, 2024 22:04
@sBaki92 sBaki92 marked this pull request as draft July 9, 2024 22:07
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.

1 participant