In-Game Chips Tokens (ERC20)
Unleashing the Power of InGameChips in the Gaming Realm
Last updated
Unleashing the Power of InGameChips in the Gaming Realm
Last updated
In-Game Chips are ERC20 tokens, which means they offer minting and txs transparency that traditional web2 game currencies can't match. This new token helps games create virtual currencies without providing liquidity to an exchange market.
Developers can create In-Game Chips with ZooGames easy-to-use interface and control them with complete security using the ZooGames API. With In-Game Chips, players can earn chips by completing missions or buy chips in packs. They can even be airdropped to mirror addresses on ZooGames. In short, In-Game Chips are the future of gaming and a key element of the Web3 gaming experience.
Virtual Currency: In-Game Chips can be used as a virtual currency within the game ecosystem. Players can earn In-Game Chips by completing in-game tasks, missions, or achievements. These chips can then be used to purchase in-game items, upgrades, cosmetics, or unlock new levels.
In-Game Economy: Developers can design complex in-game economies using In-Game Chips. Players can trade or exchange chips with each other to acquire rare items, trade with other players, or participate in player-driven economies within the game.
Reward System: In-Game Chips can serve as a reward system for players who engage actively in the game. Developers can distribute chips to players as rewards for reaching milestones, winning competitions, or demonstrating exceptional skills. These rewards can incentivize players to continue playing and achieving in the game.
Social Interaction: In-Game Chips can facilitate social interaction among players. Players can gift or trade chips with their friends or engage in friendly competitions where chips are wagered. This fosters a sense of community and engagement within the game.
Airdrops and Promotions: In-Game Chips can be airdropped to players' mirror addresses as part of promotional campaigns or as a gesture of appreciation. These airdropped chips can be used to attract new players, retain existing ones, or introduce special events within the game.
Limited Edition Collectibles: Developers can create limited edition or rare InGameChips that serve as collectible items within the game. Players can trade or showcase these unique chips, creating a market for collectors and enthusiasts.
FURTHER POSSIBLE USE CASE Cross-Game Utility: In-Game Chips can have utility across multiple games within the ZooGames ecosystem. Players can accumulate chips from different games and use them interchangeably within any compatible game on the platform, enhancing the interconnectedness of the gaming experience.
To create an In-Game Chips token using the ZooGames API, you can follow these steps:
Send a request to the API endpoint, specifying the Token name and symbol in the request payload.
The API will process your request and generate a new In-Game Chips token with the provided Token name and symbol.
Once the token creation is successful, you will receive a response containing the necessary information about the newly created token, such as its contract address and other relevant details.
You can now use this In-Game Chips token within your game environment.
POST
API_END_POINT_URL/API_KEY/erc20/create
SDK Preparation
You need to prepare for SignedSignatureFromPayload by
Installing zoo-game-sdk by npm install zoo-game-sdk
Import SDK by import * as ApiKey from 'zoo-game-sdk/src/auth/apikey/index'
Signing by SDK
let bodyMessage =JSON.stringify(payload);
let hmac = ApiKey.signData(bodyMessage, SEC_KEY);
*Use "hmac" as SignedSignatureFromPayload
You need to keep Token Address for the future usage
This function allows game developers to generate new tokens on-demand, providing flexibility and control over the in-game economy.
POST
API_END_POINT_URL/API_KEY/erc20/mint
SDK Preparation
You need to prepare for SignedSignatureFromPayload by
Installing zoo-game-sdk by npm install zoo-game-sdk
Import SDK by import * as ApiKey from 'zoo-game-sdk/src/auth/apikey/index'
Signing by SDK
let bodyMessage =JSON.stringify(payload);
let hmac = ApiKey.signData(bodyMessage, SEC_KEY);
*Use "hmac" as SignedSignatureFromPayload
This function allows game developers to remove existing tokens from circulation, providing control over the in-game economy and token supply.
POST
API_END_POINT_URL/API_KEY/erc20/burn
SDK Preparation
You need to prepare for SignedSignatureFromPayload by
Installing zoo-game-sdk by npm install zoo-game-sdk
Import SDK by import * as ApiKey from 'zoo-game-sdk/src/auth/apikey/index'
Signing by SDK
let bodyMessage =JSON.stringify(payload);
let hmac = ApiKey.signData(bodyMessage, SEC_KEY);
*Use "hmac" as SignedSignatureFromPayload
Capability to transfer In-Game Chips tokens from one user (User A) to another user (User B) using the "TRANSFER" function. This function allows for seamless peer-to-peer token transfers within the game ecosystem.
POST
API_END_POINT_URL/API_KEY/erc20/transfer
SDK Preparation
You need to prepare for SignedSignatureFromPayload by
Installing zoo-game-sdk by npm install zoo-game-sdk
Import SDK by import * as ApiKey from 'zoo-game-sdk/src/auth/apikey/index'
Signing by SDK
let bodyMessage =JSON.stringify(payload);
let hmac = ApiKey.signData(bodyMessage, SEC_KEY);
*Use "hmac" as SignedSignatureFromPayload
POST
API_END_POINT_URL/API_KEY/erc20/balance
SDK Preparation
You need to prepare for SignedSignatureFromPayload by
Installing zoo-game-sdk by npm install zoo-game-sdk
Import SDK by import * as ApiKey from 'zoo-game-sdk/src/auth/apikey/index'
Signing by SDK
let bodyMessage =JSON.stringify(payload);
let hmac = ApiKey.signData(bodyMessage, SEC_KEY);
*Use "hmac" as SignedSignatureFromPayload
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
API_KEY*
String
API_KEY
gameAddress*
Address
Address of Game/Project registered Primary Address
name*
String
Name of this ERC20 Token
symbol*
String
Token Symbol
API_KEY*
String
API_KEY
gameAddress*
Address
Address of Game/Project registered Primary Address
tokenAddress*
Address
Address of Token you have created or target Token to be minted
amount*
String / Number
Amount to Mint (Max. 18 Decimals) * Recommended to use String over Number
username*
String
The recipient ZooGamesID
API_KEY*
String
API_KEY
gameAddress*
Address
Address of Game/Project registered Primary Address
tokenAddress*
Address
Address of Token you have created or target Token to be burnt
amount*
String / Number
Amount to Burn (Max. 18 Decimals) * Recommended to use String over Number
username*
String
The target ZooGamesID
API_KEY*
String
API_KEY
gameAddress*
Address
Address of Game/Project registered Primary Address
tokenAddress*
Address
Address of Token you have created or target Token to be transferred
amount*
String / Number
Amount to transfer (Max. 18 Decimals) * Recommended to use String over Number
fromUser*
String
The source ZooGamesID
toUser*
String
The target ZooGamesID
API_KEY*
String
API_KEY
gameAddress*
Address
Address of Game/Project registered Primary Address
tokenAddress*
Address
Address of Token you have created or target Token to be checked
username*
String
ZooGamesID to check