From d1af77cb0ed3dc9b9dc51fdf5eb1c375f2b832a5 Mon Sep 17 00:00:00 2001 From: Vladimir Babin Date: Thu, 22 Feb 2024 19:49:08 +0300 Subject: [PATCH] Fix typo in env --- README.md | 18 +++++++++--------- src/app.ts | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d62ea3d..64467e1 100644 --- a/README.md +++ b/README.md @@ -3,21 +3,21 @@ Example of minting NFT Collection on TON using ton.js ## Installation and local launch -- Clone this repo `git clone https://github.com/coalus/MintyTON` + +- Clone this repo `git clone https://github.com/coalus/MintyTON` - Go to project folder `cd MintyTON` -- Install dependencies `yarn` +- Install dependencies `yarn` - Copy .env.template to .env and insert your data (see table below) - Start mint by running `yarn start` ## Environment variables -| Name | Description | -| ---------------------------------------- | ---------------------------------------- | -| `PINATA_API_KEY`, `PINATA_API_SECRET`| API keys from [pinata.cloud](https://pinata.cloud)| -| `MNEMONIC` | 24 mnemonic words of owner wallet | -| `TONCENTER_API_KEY` | API key from [@tonapibot](https://t.me/tonapibot) / [@tontestnetapibot](https:/t.me/tontestnetapibot) | - +| Name | Description | +| ------------------------------------- | ----------------------------------------------------------------------------------------------------- | +| `PINATA_API_KEY`, `PINATA_API_SECRET` | API keys from [pinata.cloud](https://pinata.cloud) | +| `MNEMONICS` | 24 mnemonic words of owner wallet | +| `TONCENTER_API_KEY` | API key from [@tonapibot](https://t.me/tonapibot) / [@tontestnetapibot](https:/t.me/tontestnetapibot) | # License -MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks! \ No newline at end of file +MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks! diff --git a/src/app.ts b/src/app.ts index 6b24589..3091bbb 100644 --- a/src/app.ts +++ b/src/app.ts @@ -17,7 +17,7 @@ async function init() { const metadataFolderPath = "./data/metadata/"; const imagesFolderPath = "./data/images/"; - const wallet = await openWallet(process.env.MNEMONIC!.split(" "), true); + const wallet = await openWallet(process.env.MNEMONICS!.split(" "), true); console.log("Started uploading images to IPFS..."); const imagesIpfsHash = await uploadFolderToIPFS(imagesFolderPath);