- Install
yarn
- Run
yarn ts-node src/scripts/loan-positions.ts
- Configure private node
- Copy
.env.example
to.env
and add ws endpoint
- Copy
- Parameters
--network
: network name,all
for all the supported networks. Support comma seperated list:--network=karura,acala
--output
:csv
orconsole
. Defaultconsole
which usesconsole.table
for output and enable balance formatting.--at
: Run the script at specific block height. Defaultnow
. Support comma seperated list:--at=7d,3d,-100,now
now
: latest block- positive number: block height
- negative number: x block before
- relative time unit e.g.
1w
,2d
,3h
,4m
,5s
: relative time from current block
forked from AcalaNetwork/scripts
-
Notifications
You must be signed in to change notification settings - Fork 1
License
qwer951123/scripts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- TypeScript 99.2%
- Other 0.8%