-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat(pop-api): nonfungibles use case #335
Labels
Comments
chungquantin
changed the title
feat(devnet): non-fungibles use case
feat(devnet): pop-api + non-fungibles use case
Oct 10, 2024
This was referenced Oct 10, 2024
This was
linked to
pull requests
Nov 13, 2024
|
This was referenced Nov 13, 2024
5 tasks
12 tasks
5 tasks
This was
linked to
pull requests
Nov 19, 2024
chungquantin
changed the title
feat(devnet): pop-api + non-fungibles use case
feat(devnet): non-fungibles use case
Nov 19, 2024
chungquantin
changed the title
feat(devnet): non-fungibles use case
feat(pop-api): nonfungibles use case
Nov 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
In an effort to provide a unifying experience for developers to access runtime functionality for non-fungible tokens, APIs compliant to the PSP34 standard will be provided, as well as a set of extra functions (see Management). The interface as defined by this specification will be accessible for smart contracts via:
Note that the lack of version equals latest. As an example, the user could explicitly specify the version as:
The introduced changes includes changes made to the forked
pallet-nfts
following what has been discussed in the internal spec. Adding and making changes to two new pallets:pallets/nfts
: Changes made to the forked version to add new storage items to optimize the performance for the contract functionalitiespallets/api/nonfungibles
: Built on top of thepallet-nfts
to expose neccessary functions for the contract API implementation.API Development Tracking
Does it follow any contract standard?
Name of the standard: PSP34
Link to reference: https://github.com/inkdevhub/standards/blob/master/PSPs/psp-34.md
Does it require a new pallet implementation?
pallet-api/nonfungibles
Does it require forking any upstream dependencies?
pallet-nfts
PSP34
interface compatibility: Thepallet-nfts
interface is not directly aligned with thePSP34
standard.Does it require changes made to
pop-drink
crate?Related Issues & Pull Requests
Runtime
pallet-api/nonfungibles
to runtimedevnet
#389pallet-api/nonfungibles
to runtimedevnet
#389pallet-api/nonfungibles
to runtimedevnet
#389Pallet
pallet-api/nonfungibles
#388pallet-api/nonfungibles
#388Contract
Drink (optional)
pop-drink
API:pop-drink
test: chore: psp34 example contract #333The text was updated successfully, but these errors were encountered: