🔬
Mobile games toolset for F2P and P2E merge
  • General Intro
  • 🔑CONTRACTS
    • Generic item operations
    • Reward Pool with operations
    • Referral Code NFT (rNFT) with operations
  • 📖DOC
    • contract_clients
    • principals
    • messasge signing
    • staging env
  • 🌟EXAMPLES
    • admin
    • faucet
Powered by GitBook
On this page
  • What's here
  • Setting the operator
  1. EXAMPLES

admin

PreviousEXAMPLESNextfaucet

Last updated 2 years ago

What's here

This directory contains some helper tools for interaction with creature racer contracts.

Most "admin" functions need to be called either by contract deployer or by an operator.

Scripts in this directory usually assume testnet environment, i.e.

  • API endpoint:

  • deployer address, as defined in

Setting the operator

Setting the operator happens by calling set-operator function of creature-racer-admin contract. This function needs to be called by a contract owner (deployer). You can use set-operator.js.

Example, to set wallet_1 as an operator:

node set-operator.js ST1SJ3DTE5DN7X54YDH5D64R3BCB6A2AG2ZQ8YPD5

The latest version available

(The content of the page is available for logged-in GitHub users)

🌟
https://stacksapi-testnet.wannabe.games
Devnet.toml
here