Create and deliver game assets through Waves Platform
This library provides a hight level abstraction over NODE REST API and MATCHER REST API and enables game developers to do the following:
async function howToCreateAnItem(creatorSeed) {
const { Items } = require('@waves/waves-games')
const { create } = Items(ChainId.Testnet)
const items = Items(ChainId.Testnet)
const request = create(100, true, { version: 1, main: { name: 'The sword of pain', img: 'img_url' }, misc: {} creatorSeed)
const item = await request.execute()
}
Generated using TypeDoc