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.
20 lines (12 loc) • 562 B
Markdown
# Example: Batch Transfer JS
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
This will transfer all axies from the wallet to the specified address, it uses the ERC721 Batch Transfer contract: <https://app.roninchain.com/address/0x2368dfed532842db89b470fde9fd584d48d4f644>
```bash
node index.js $RONIN_ADDRESS
```
Remplace `$RONIN_ADDRESS` with your Ronin wallet address.