This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* For Bitlayer | |
* Project link https://www.influpia.com/i | |
* | |
* download nodejs from `https://nodejs.org/en/download/package-manager` and install it. | |
* | |
* open terminal and check install status | |
* ``` | |
* node -v | |
* ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* project link https://www.influpia.com/passauction | |
* system requirements: nodejs >= 18, ehters.js | |
* npm install [email protected] | |
* node passauction.mjs | |
*/ | |
import { ethers } from 'ethers' | |
const provider = new ethers.WebSocketProvider('wss://ws.bitlayer-rpc.com', { | |
chainId: 200901, |