UNPKG

axie-ronin-ethers-js-tools

Version:

A set of functions that make it easier for developers to interact with their Axies on the Ronin network and the maketplace.

21 lines (14 loc) 665 B
# Example: Axie Marketplace Copy the `.env.example` file to `.env` and fill in your account private key (you can get this from the Ronin wallet)Please not share your private key with anyone. ## Install dependencies ```bash npm install ``` ### Run the script ```bash node buy.js $AXIE_ID // this will buy the $AXIE_ID node list.js $AXIE_ID // this will create a sale for the $AXIE_ID for 0.1 ETH node lsit-auction.js $AXIE_ID // this will create a auction for the $AXIE_ID for 0.1 ETH to 0.5 ETH with a duration of 24 hours node delist.js $AXIE_ID // this will cancel the sale/auction for the $AXIE_ID ``` Remplace `$AXIE_ID` with your Ronin wallet address.