Welcome to the Metadata API! This backend service allows you to manage metadata for your Items, LootBoxes, and Keys. If you're interested in the associated smart contracts, please visit our LootboxContract repository.
While this backend provides a foundational structure, it's designed to be a starting point. We encourage the community to enhance and tailor it to their needs. Contributions and improvements are always welcome!
- Server: JS, Node.js, Express, WEB3
git clone https://github.com/3engine/metadataAPI
cd metadataAPI
npm i
npm run start
To run this project, ensure you have the following environment variables set up in your .env
file:
Variable | Description |
---|---|
ITEM_CONTRACT |
Address of the Item Contract |
LOOTBOX_CONTRACT |
Address of the LootBox Contract |
KEY_CONTRACT |
Address of the Key Contract |
MONGODB_URI |
MongoDB Connection URI |
NETWORK_RPC |
EVM Network RPC |
Licensed under the MIT License.