Scripts for listing the available EthMap countries and WeiCards, ranked in order of descending price.
Last Update: 18 August 2021
Clone this, add some config variables. Run it. I ain't updating this further.
yarn
(through npm
: https://classic.yarnpkg.com/en/docs/install)
Run yarn install
in the main directory.
Put these two things in env_vars.ts:
- The
PRIVATE_KEY
(sans leading 0x) for a wallet (any wallet) from, and - The
INFURA_KEY
that allows you read on-chain data from Infura
If you don't have an Infura API key, here's how to get one: https://medium.com/jelly-market/how-to-get-infura-api-key-e7d552dd396f
I advise creating a new wallet and using the private key for that so as to not risk your funds.
ts-node get_ethmap_floor.ts
or
ts-node get_weicard_floor.ts
That's it.