Commonly used NEAR scripts built with near-api-js
Clone project and install dependencies
git clone https://github.com/near-x/near-scriptscd near-scriptsyarn
Login with near-cli.
near login
Configure environment variables
export NEAR_ENV=testnetexport NEAR_ACCOUNT=<your account>
Run a specific script
- Send Airdrop / Redpacket in batch:
node src/bulk-airdrop.js - Transfer NEAR to a specific account:
node src/transfer.js - Distribute NEAR tokens in batch:
node src/bulk-transfer.js