With the Minter Server, effortlessly mint Items (NFTs) directly from your backend to enrich the gaming experience for users. This setup provides a foundational example; feel free to enhance and tailor it to your game's mechanics.
- Server: TypeScript, Node.js, Express
git clone https://github.com/3engine/MinterServer.git
cd MinterServer
npm install
npm run start
To run this project, ensure you have the following environment variables set up in your .env
file:
Variable | Description |
---|---|
GAME_PRIVATE_KEY |
Minter Private Key |
CONTRACT_ADDRESS |
Address of the Item Contract |
MONGODB_URI |
MongoDB Connection URI |
NETWORK_RPC |
EVM Network RPC |
APIKEY_3ENGINE |
3Engine API Key (Reach out for access) |
API_3ENGINE |
3Engine API Endpoint |
Licensed under the MIT License.