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

Unity library for TON Connect 2.0 #766

Open
8 of 10 tasks
MrVeit opened this issue Aug 16, 2024 · 5 comments
Open
8 of 10 tasks

Unity library for TON Connect 2.0 #766

MrVeit opened this issue Aug 16, 2024 · 5 comments
Assignees
Labels
Approved This proposal is approved by the committee Developer Tool Related to tools or utilities used by developers

Comments

@MrVeit
Copy link

MrVeit commented Aug 16, 2024

Summary.

My goal is to develop an SDK for the Unity game engine that will allow the connection of wallets via the Ton Connect 2.0 protocol, and to cover the GameFi sector so that players can receive and give back jettons, NFT items between themselves in game projects on Unity.

Context

While there are several solutions for .NET, including directly for Unity. At the moment, they do not address all the issues to provide developers with a single tool with a user-friendly API needed to interact with the TON ecosystem.

Goals

  1. Develop an SDK to interact with the TON ecosystem (connect wallets, conduct transactions with Ton + Jettons + NFT between wallets),
  2. Help game developers integrate the SDK into their Unity projects.

Deliverables

  • GitHub repository with SDK source code
  • Detailed documentation with examples of how to use the SDK APIs.

Definition of completed work

  • GitHub repository with SDK source code where the claimed functionality is implemented
  • Detailed documentation with examples of how to use the API SDK
  • TMA/WebApp that implements all SDK functionality

SDK functionality required

  • Connection of TON-wallets
  • Reading the Toncoin balance
  • Reading the Jettons balance
  • Reading existing NFT collections with filters (skam, by collection address)
  • Sending Toncoin between wallets
  • Sending Jettons between wallets
  • Sending NFT collections between wallets

Similar projects

https://github.com/andreykobal/ton-connector-unity
https://github.com/continuation-team/unity-ton-connect

Estimate the offered remuneration

  • 1000 USD in TON equivalent
  • Standard TON Footstep NFT
@MrVeit MrVeit added the Developer Tool Related to tools or utilities used by developers label Aug 16, 2024
@MrVeit MrVeit changed the title GameFi SDK for Unity Unity library for TON Connect 2.0 Oct 1, 2024
@delovoyhomie delovoyhomie added the Approved This proposal is approved by the committee label Nov 26, 2024
@delovoyhomie
Copy link
Collaborator

@MrVeit the bounty has been approved!
Thank you for submitting your proposal and apologies for such a delayed response.

@MrVeit
Copy link
Author

MrVeit commented Nov 26, 2024

Thanks for the reply, no big deal!
Well, I'll start developing the rest of the functionality then :D

What we have now:

  • Connection wallets,
  • Reading wallet balance (Toncoin),
  • Reading existing NFT collections on the connected wallet,
  • Sending Toncoin between wallets.

The remaining functionality is:

  • Reading the jettons balance on a wallet,
  • Sending NFTs and jettons between wallets.

Do I need to separate this into subparts in the description?

Also, there is already a demo with an implementation of the current library functionality:
In TMA
In Browser

@delovoyhomie
Copy link
Collaborator

Do I need to separate this into subparts in the

up to you!

@delovoyhomie
Copy link
Collaborator

Hey @MrVeit!
Are there any updates?

@MrVeit
Copy link
Author

MrVeit commented Jan 21, 2025

Hey @MrVeit! Are there any updates?

Hi, an option to read the balance of all kinds of jettons on a connected wallet has been added and a module to send them is 50% ready, and a module to send NFT collections remains.

It is not possible to publish this SDK in Unity Asset Store, as they only accept official decisions from blockchain representatives or legal entities in the "Decentralization" section.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved This proposal is approved by the committee Developer Tool Related to tools or utilities used by developers
Projects
None yet
Development

No branches or pull requests

2 participants