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

Create NFT examples #1

Open
krigga opened this issue Sep 29, 2023 · 3 comments
Open

Create NFT examples #1

krigga opened this issue Sep 29, 2023 · 3 comments

Comments

@krigga
Copy link
Contributor

krigga commented Sep 29, 2023

There is currently an example that shows how to create an SDK instance and create a jetton. There is a need for a similar example that would show how to create an NFT collection, mint some items, and transfer an item. Here are the NFT contract wrapper sources with all their methods.

@MKdir98
Copy link
Contributor

MKdir98 commented Oct 2, 2023

Sorry, could you help me to find the method of transferring an item?

@krigga
Copy link
Contributor Author

krigga commented Oct 3, 2023

Sorry, could you help me to find the method of transferring an item?

Oops my bad, I haven't implemented this it seems, I'll try to address this tomorrow

@krigga
Copy link
Contributor Author

krigga commented Oct 4, 2023

Sorry, could you help me to find the method of transferring an item?

I've added the required method. Use this https://github.com/ton-community/gamefi-sdk/blob/8f4391c9db894ca940585aef192df30327aa1e7e/src/nft/contracts.ts#L108 to open an item by index, then invoke sendTransfer on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants