Initialization
Last updated
Was this helpful?
Last updated
Was this helpful?
Before you can interact with entities like Store an Invoice, you need to initialize the SDK. This can be done in just one line of code:
Done! Now you can access everything that our SDK provides using the tonpay
object.
You may be wondering - "what is sender?". The answer is simple - sender is an entity that is responsible for sending transactions to the TON Blockchain. You might want to use for this (if you're using React, take a look at our ), or implement a custom sender that uses your seed phrase to sign transactions and send them.