https://github.com/checkernetwork/meridian-cli
CLI for managing Impact Evaluator smart contracts.
https://github.com/checkernetwork/meridian-cli
Last synced: about 1 year ago
JSON representation
CLI for managing Impact Evaluator smart contracts.
- Host: GitHub
- URL: https://github.com/checkernetwork/meridian-cli
- Owner: CheckerNetwork
- License: other
- Created: 2024-04-15T11:54:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-24T13:54:07.000Z (over 1 year ago)
- Last Synced: 2025-03-24T18:47:53.780Z (about 1 year ago)
- Language: JavaScript
- Size: 447 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# meridian cli
CLI for managing
[Impact Evaluator](https://github.com/meridian-IE/impact-evaluator) smart
contracts.
## Authentication
Get a token from https://auth.node.glif.io/, then pass `GLIF_TOKEN=...` with
every CLI invocation.
## Ledger
Keep your HW ledger device connected and unlocked on the Ethereum app.
## Installation
```bash
$ npm install --global @meridian-ie/cli
```
## API
```bash
$ meridian --help
meridian
Commands:
meridian current-round-index Get the current round index
meridian list-transfers List transfers from last 100 blocks
meridian Watch the participant count
participant-count-scheduled-for-transfer scheduled for transfer
meridian ready-for-transfer List participants ready for transfer
meridian release-rewards Release rewards
meridian rewards-scheduled-for Get rewards scheduled for a
participant
meridian round-reward Get the current round reward
meridian scheduled-for-transfer Get all participants scheduled for
transfer
meridian set-min-balance-for-transfer Set the minimum balance for transfer
meridian set-next-round-length Set the next round length
meridian set-round-reward Set the round reward
meridian tick Trigger a tick
meridian available-balance Get the balance available
meridian add-admin Add a contract admin
meridian remove-admin Remove a contract admin
Options:
-a, --address Contract address (or $MERIDIAN_ADDRESS) [string] [required]
-g, --glif-token GLIF token (or $MERIDIAN_GLIF_TOKEN) [string] [required]
-v, --version Show version number [boolean]
-h, --help Show help [boolean]
Examples:
$ meridian current-round-index Get the current round index
```
## Development
Publish a new version:
```bash
$ npx np
```