Integrate payments with MEMO
Last updated
Last updated
Begin by setting up your TON wallet and securely storing your seed phrase or private key. This wallet will function as a "hot wallet," holding all your tokens.
With the SDK installed, you'll unlock access to a range of features offered by the GRAM20 Protocol API.
Regularly monitor your wallet for transactions using the following code snippets:
Implement a system to recognize specific transactions as being intended for individual users through the transaction history.
Upon detecting a new transaction for a user, update their balance in your database accordingly. Be mindful of the delta
value, as a positive number indicates incoming tokens, while a negative number signifies outgoing tokens.
To request a transaction from a user through the TG20 Mini App, you can utilize our integrated Deep Links. This feature enables a seamless process for users to send transactions directly to you.