{"id":24379551,"url":"https://github.com/acalanetwork/scripts","last_synced_at":"2025-04-10T21:09:40.528Z","repository":{"id":56775968,"uuid":"475234877","full_name":"AcalaNetwork/scripts","owner":"AcalaNetwork","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-04T09:21:00.000Z","size":2134,"stargazers_count":3,"open_issues_count":3,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-10T21:09:32.910Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AcalaNetwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-29T01:17:23.000Z","updated_at":"2022-09-01T14:43:33.000Z","dependencies_parsed_at":"2023-02-18T15:16:06.212Z","dependency_job_id":null,"html_url":"https://github.com/AcalaNetwork/scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcalaNetwork%2Fscripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcalaNetwork%2Fscripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcalaNetwork%2Fscripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcalaNetwork%2Fscripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AcalaNetwork","download_url":"https://codeload.github.com/AcalaNetwork/scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248298334,"owners_count":21080320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-19T07:16:03.292Z","updated_at":"2025-04-10T21:09:40.512Z","avatar_url":"https://github.com/AcalaNetwork.png","language":"TypeScript","readme":"# scripts\n\n- Install\n  - `yarn`\n- Run\n  - `yarn ts-node src/scripts/loan-positions.ts`\n- Configure private node\n  - Copy `.env.example` to `.env` and add ws endpoint\n- Parameters\n  - `--network`: network name, `all` for all the supported networks. Support comma seperated list: `--network=karura,acala`\n  - `--output`: `csv` or `console`. Default `console` which uses `console.table` for output and enable balance formatting.\n  - `--at`: Run the script at specific block height. Default `now`. Support comma seperated list: `--at=7d,3d,-100,now`\n    - `now`: latest block\n    - positive number: block height\n    - negative number: x block before\n    - relative time unit e.g. `1w`, `2d`, `3h`, `4m`, `5s`: relative time from current block\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facalanetwork%2Fscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facalanetwork%2Fscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facalanetwork%2Fscripts/lists"}