{"id":19561253,"url":"https://github.com/monogon-dev/solana-spe","last_synced_at":"2025-04-19T20:52:31.012Z","repository":{"id":223121302,"uuid":"759366432","full_name":"monogon-dev/solana-spe","owner":"monogon-dev","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-20T11:55:17.000Z","size":5,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-11T05:11:02.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/monogon-dev.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}},"created_at":"2024-02-18T11:54:12.000Z","updated_at":"2024-09-03T19:46:21.000Z","dependencies_parsed_at":"2024-02-18T13:34:33.250Z","dependency_job_id":null,"html_url":"https://github.com/monogon-dev/solana-spe","commit_stats":null,"previous_names":["monogon-dev/solana-spe"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monogon-dev%2Fsolana-spe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monogon-dev%2Fsolana-spe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monogon-dev%2Fsolana-spe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monogon-dev%2Fsolana-spe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monogon-dev","download_url":"https://codeload.github.com/monogon-dev/solana-spe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233111117,"owners_count":18626700,"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-11-11T05:10:16.082Z","updated_at":"2025-01-08T22:49:52.166Z","avatar_url":"https://github.com/monogon-dev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SPE Toolkit\n\nThis is a library of utilities to help you get started with Solana Permissioned Environments.\n\n## Requirements\n\n- Docker (https://www.docker.com/products/docker-desktop)\n- Bash\n\n## Setting up the environment\n\n**1. Source the environment (in case you don't have dotenv configured)**\n\n```bash\nset -a                                                        \nsource .env\nset +a\n```\n\n**2. Start the local SPE network**\n\n```bash\ndocker compose up\n```\n\nYou can now access the explorer at http://localhost:8080. The port can be adjusted in the `.env` file.\n\n**3. Initialize the CLI config**\n\n```bash\nspe init\n```\n\n**4. Use the shipped CLIs**\n\n* `spe` is a helper CLI to get you setup in the SPE environment\n* `spe-token` is a CLI to interact with the SPL Token program\n* `spe-cli` is an alias for the Solana CLI configured to interact with your SPE\n* `spe-keygen` is an alias for the Solana Keygen CLI\n\n## Examples\n\n### Create and fund a new account\n\n[![asciicast](https://asciinema.org/a/0686yP02xTiD4ActAsMG7ycpF.svg)](https://asciinema.org/a/0686yP02xTiD4ActAsMG7ycpF)\n\n```bash\n# This creates a new keypair\nspe create-account [name]\n# This funds the account with x SOL\nspe fund [name] [amount]\n# This sets the account as the current account (i.e. use it for future commands)\nspe use-account [name]\n```\n\n### Create a new token\n\n**Note:** Make sure you have funded and called `spe use-account` on the account you want to use to create the token.\n\n[![asciicast](https://asciinema.org/a/IkIdYp6AgRJNomIrWrFmO1RRf.svg)](https://asciinema.org/a/IkIdYp6AgRJNomIrWrFmO1RRf)\n\n```bash\nspe-token create-token\nspe-token create-account [token_address]\nspe-token mint [account_address] [amount]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonogon-dev%2Fsolana-spe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonogon-dev%2Fsolana-spe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonogon-dev%2Fsolana-spe/lists"}