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

chore: psp22 example contract #108

Open
2 tasks done
Tracked by #330
Daanvdplas opened this issue Jul 17, 2024 · 0 comments
Open
2 tasks done
Tracked by #330

chore: psp22 example contract #108

Daanvdplas opened this issue Jul 17, 2024 · 0 comments
Labels
api Pop API documentation Improvements or additions to documentation high priority

Comments

@Daanvdplas
Copy link
Collaborator

Daanvdplas commented Jul 17, 2024

Implement a fungibles contract example implementing the psp22 traits and error provided by the pop api.

  • traits implemented and following expected behaviour (ref)
  • From<StatusCode> for PSP22Error implementation + tests. For each api there should be one pallet assets specific error tested that is converted into PSP22Error::Custome("<pallet assets error>"). This is to demonstrate the power of the pop api error.

Using the drink test framework. See internal spec in shortcut.

@Daanvdplas Daanvdplas changed the title feat: contract example using the local fungibles api feat: contract examples using the local fungibles api Jul 17, 2024
@Daanvdplas Daanvdplas changed the title feat: contract examples using the local fungibles api docs: contract examples using the local fungibles api Jul 26, 2024
This was referenced Jul 26, 2024
@Daanvdplas Daanvdplas changed the title docs: contract examples using the local fungibles api chore: psp22 example contract Sep 17, 2024
@Daanvdplas Daanvdplas added documentation Improvements or additions to documentation api Pop API high priority labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Pop API documentation Improvements or additions to documentation high priority
Projects
None yet
Development

No branches or pull requests

1 participant