{"id":14356562,"url":"https://github.com/Lagrange-Labs/lsc-client-cli","last_synced_at":"2025-08-21T14:32:01.878Z","repository":{"id":232853527,"uuid":"751465167","full_name":"Lagrange-Labs/lsc-client-cli","owner":"Lagrange-Labs","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-11T14:18:35.000Z","size":318,"stargazers_count":9,"open_issues_count":6,"forks_count":5,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2024-07-11T16:26:45.619Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lagrange-Labs.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-01T17:02:09.000Z","updated_at":"2024-07-11T16:26:56.378Z","dependencies_parsed_at":"2024-04-23T13:00:12.648Z","dependency_job_id":"abe4b0d3-17c8-480f-9ce3-01ae7c720958","html_url":"https://github.com/Lagrange-Labs/lsc-client-cli","commit_stats":null,"previous_names":["lagrange-labs/client-cli","lagrange-labs/lsc-client-cli"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lagrange-Labs%2Flsc-client-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lagrange-Labs%2Flsc-client-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lagrange-Labs%2Flsc-client-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lagrange-Labs%2Flsc-client-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lagrange-Labs","download_url":"https://codeload.github.com/Lagrange-Labs/lsc-client-cli/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230519986,"owners_count":18238931,"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":"2024-08-27T10:01:22.195Z","updated_at":"2024-12-20T00:30:42.213Z","avatar_url":"https://github.com/Lagrange-Labs.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# LSC Client CLI\n\nThis CLI app provides functionalities such as key management, operator registration, chain subscription, monitoring configuration and automated docker deployment which are necessary to run the LSC Attestation Node.\n\n## Lagrange State Committees\n\nFor a full breakdown of the Lagrange State Committee architecture, please refer to the below two documents:\n\n1. [Lagrange Technical Overview Docs](https://docs.lagrange.dev/state-committees/overview)\n2. [Lagrange State Committee Deep Dive](https://hackmd.io/@lagrange/lagrange-committee)\n\n## Installing CLI from source\n\nTo begin with, install Go programming language following the steps mentioned in the [docs](https://docs.lagrange.dev/state-committees/run-node/prerequisite-installation).\n\n- Clone [CLI](https://github.com/Lagrange-Labs/lsc-client-cli) repository\n\n```bash\ngit clone https://github.com/Lagrange-Labs/lsc-client-cli.git\n```\n\n- Set CGO Flags\n\n```bash\nexport CGO_CFLAGS=\"-O -D__BLST_PORTABLE__\"\nexport CGO_CFLAGS_ALLOW=\"-O -D__BLST_PORTABLE__\"\n```\n\n- Create binary\n\n```bash\ncd client-cli\nmkdir -p dist\ngo build -o ./dist cmd/main.go\n```\n\nor\n\n```bash\ncd client-cli\nsudo apt install make gcc\nmake build\n```\n\n## Running a LSC Attestation Node\n\nPlease refer to the detailed [documentation](https://docs.lagrange.dev/state-committees/overview).\n\n- Networks:\n  - Holesky\n  - Mainnet\n- [System Requirements](https://docs.lagrange.dev/state-committees/operator-guide/system-requirements)\n- [Supported Chains](https://docs.lagrange.dev/state-committees/operator-guide/supported-chains)\n- [Prerequisite Installations](https://docs.lagrange.dev/state-committees/run-node/prerequisite-installation)\n- [Setup configuration file](https://docs.lagrange.dev/state-committees/run-node/configuration)\n- [Commands](#commands)\n- [Setup Keystore](https://docs.lagrange.dev/state-committees/run-node/setup-keystore)\n- Register Operator\n  - [Using CLI](https://docs.lagrange.dev/state-committees/run-node/register-operator)\n  - [Using Script](https://docs.lagrange.dev/state-committees/run-node/scripts)\n- Deploy attestation node\n  - [Deploy Remote Signer](https://docs.lagrange.dev/state-committees/run-node/deploy#signer)\n  - [Deploy using CLI](https://docs.lagrange.dev/state-committees/run-node/deploy#deploy-using-cli)\n  - [Deploy using templates](https://docs.lagrange.dev/state-committees/run-node/deploy#deploy-using-template)\n- [Post deployment](#post-deployment)\n\n### Commands\n\nThe below commands will allow a developer to run a node and attest to the state of supported chains.\n\n- [generate-keystore](https://docs.lagrange.dev/state-committees/run-node/commands#generate-keystore)\n- [import-keystore](https://docs.lagrange.dev/state-committees/run-node/commands#import-keystore)\n- [export-keystore](https://docs.lagrange.dev/state-committees/run-node/commands#export-keystore)\n- [export-public-key](https://docs.lagrange.dev/state-committees/run-node/commands#export-public-key)\n- [register-operator](https://docs.lagrange.dev/state-committees/run-node/commands#register-operator)\n- [deregister-operator](https://docs.lagrange.dev/state-committees/run-node/commands#deregister-operator)\n- [update-bls-pub-key](https://docs.lagrange.dev/state-committees/run-node/commands#update-bls-pub-key)\n- [update-signer-address](https://docs.lagrange.dev/state-committees/run-node/commands#update-signer-address)\n- [add-bls-pub-key](https://docs.lagrange.dev/state-committees/run-node/commands#add-bls-pub-key)\n- [remove-bls-pub-key](https://docs.lagrange.dev/state-committees/run-node/commands#remove-bls-pub-key)\n- [subscribe-chain](https://docs.lagrange.dev/state-committees/run-node/commands#subscribe-chain)\n- [unsubscribe-chain](https://docs.lagrange.dev/state-committees/run-node/commands#unsubscribe-chain)\n- [generate-config](https://docs.lagrange.dev/state-committees/run-node/commands#generate-config)\n- [generate-docker-compose](https://docs.lagrange.dev/state-committees/run-node/commands#generate-docker-compose)\n- [deploy](https://docs.lagrange.dev/state-committees/run-node/commands#deploy)\n- [generate-signer-config](https://docs.lagrange.dev/state-committees/run-node/commands#generate-signer-config)\n- [deploy-signer](https://docs.lagrange.dev/state-committees/run-node/commands#deploy-signer)\n- [generate-config-deploy](https://docs.lagrange.dev/state-committees/run-node/commands#generate-config-deploy)\n- [bulk-generate-config-deploy](https://docs.lagrange.dev/state-committees/run-node/commands#bulk-generate-config-deploy)\n\n### Post Deployment\n\n- If you wish to setup Grafana dashboard for monitoring your attestation node, please review the steps mentioned in this [documentation](/monitoring/MONITORING.MD)\n\n- The detailed information for the post-deployment monitoring can be found on our [documentation](https://docs.lagrange.dev/state-committees/run-node/monitoring) page.\n\n**If you face any issues while running the LSC Attestation Node, please reach out to the Lagrange Labs team on [Discord](https://discord.lagrange.dev/).**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLagrange-Labs%2Flsc-client-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLagrange-Labs%2Flsc-client-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLagrange-Labs%2Flsc-client-cli/lists"}