{"id":13456709,"url":"https://github.com/Anthias-Labs/flare","last_synced_at":"2025-03-24T11:31:06.669Z","repository":{"id":223395358,"uuid":"760092218","full_name":"anthias-labs/flare","owner":"anthias-labs","description":"Flare is a CLI tool for interacting with Solana.","archived":false,"fork":false,"pushed_at":"2024-08-15T00:09:50.000Z","size":97,"stargazers_count":27,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-04T05:34:02.505Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anthias-labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-19T19:14:04.000Z","updated_at":"2024-11-13T18:21:33.000Z","dependencies_parsed_at":"2024-03-30T21:34:16.678Z","dependency_job_id":"e1bb42a9-6ccf-4437-8205-3d358f6ac271","html_url":"https://github.com/anthias-labs/flare","commit_stats":null,"previous_names":["anthias-labs/flare"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthias-labs%2Fflare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthias-labs%2Fflare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthias-labs%2Fflare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthias-labs%2Fflare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthias-labs","download_url":"https://codeload.github.com/anthias-labs/flare/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245260788,"owners_count":20586469,"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-07-31T08:01:26.445Z","updated_at":"2025-03-24T11:31:06.410Z","avatar_url":"https://github.com/anthias-labs.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"**:construction: WIP: This tool is in active development, and can experience breaking changes**\n\n# Flare\n\nFlare is the Command Line Interface for developers on Solana. Below is a breakdown of the various commands included within Flare. If you run into any issues while operating Flare, please open an issue on this repo or contact a contributor from Anthias Labs [here](https://discord.com/invite/RCJYpMvkBy). \n\n## Installation\n1. Download the right binary from releases, or build it yourself (see below)\n2. Optionally, rename it to `flare` for convenience.\n3. Place it into the PATH to have it available everywhere in your system.\n4. Run it with `flare` in the terminal.\n\n## Building\nPlease make sure you have Cargo in your system.\n1. Clone the repo with `git clone https://github.com/Anthias-Labs/flare.git`\n2. Move into the folder: `cd flare`\n3. Build the project: `cargo build`\n4. Move into the binary location `cd target/debug`\n5. Run the compiled binary with `./flare`\n\n## Usage\nRead the documentation and find some project examples [here](./docs/README.md).\n\nTo test the tool and see some example usage:\n1. Write a mnemonic with some balance in devnet to a `.mnemonic` file in root.\n2. Run `./example-usage.sh`. This will build the tool and test every command.\n\n## Functions\n### Chain and Transaction Interactions:\n`flare send`: allows sending SOL to an account\n\n`flare balance`: checks SOL balance for a given address\n\n`flare epoch`: get the current epoch number\n\n`flare block-height`: get the current epoch number\n\n`flare call`: calls an arbitrary Anchor program method\n\n`flare read-account`: reads and deserializes an arbitrary account\n\n`flare fetch-idl`: fetches the published IDL from an Anchor program\n\n\n### Wallet Management:\n`flare wallet-create`: generates keypair and mnemonic for a new wallet\n\n`flare wallet-recover`: gets keypair from a given mnemonic\n\n### Utils (Additional):\n`flare sign`: sign an arbitrary message with a given private key\n\n`flare address-derive`: derives address from a keypair file\n\n`flare generate-pda`: generates Program Derived Address from program address and seeds\n\n## Roadmap\n- [X] Reading wallet SOL balance from chain\n- [X] Reading epoch/block height\n- [X] Sending SOL transactions between accounts\n- [X] Creating wallets and recovering from mnemonic\n- [X] Signing arbitrary messages\n- [X] Adding CLI options for handling different cluster RPCs\n- [X] Calling methods and reading state from on-chain programs\n- [X] Adding utils for common operations\n- [X] File-based  wallet and config management (storage and read)\n- [X] Add support for multiple signers on an instruction\n- [X] Add support for Program Derived Addresses\n- [ ] Improve documentation and error messages\n\n## About\nFlare is the first tool from Solstice, the toolkit for developers on Solana. The development of Flare was originally funded by a grant from the Solana Foundation to Anthias Labs in January of 2024. Flare’s public launch is scheduled for April of 2024.\n\n\nAnthias Labs is a boutique blockchain r\u0026d firm focused on public goods tooling and actionable research. To see more about us, feel free to review [here](https://www.anthias.xyz/home).\n\n## Acknowledgements\nFlare would not be possible without support from many parties over many moons. Acknowledgments of the contributors to Flare will be shared soon.\n\n## Contributing\nTo contribute to Flare, please reach out to the current contributors in our main [Contributor Discord](https://discord.gg/RCJYpMvkBy). \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAnthias-Labs%2Fflare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAnthias-Labs%2Fflare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAnthias-Labs%2Fflare/lists"}