Example of minting NFT Collection on TON using ton.js
Name | Description |
---|---|
PINATA_API_KEY , PINATA_API_SECRET |
API keys from pinata.cloud |
MNEMONIC |
24 mnemonic words of owner wallet |
TONCENTER_API_KEY |
API key from @tonapibot / @tontestnetapibot |
- Node.js v16 (other versions may work, needs more testing)
- A TON Connect compatible wallet (e.g. Tonkeeper)
-
Create a template from this repo with the "Use this template" button
-
Clone this repo and run
yarn
-
Create a new bot with botfather
- Type
/newbot
- Choose a name for your bot, e.g.
My Ton TWA
- Choose a username for your bot, e.g.
my_ton_twa_482765_bot
- Take note of the access token, e.g.
5712441624:AAHmiHvwrrju1F3h29rlVOZLRLnv-B8ZZZ
- Run
yarn configbot
to link your bot to the webapp
- Type