admin
Last updated
Last updated
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 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: