{"id":39806253,"url":"https://github.com/vegebun-csj/mini-cosmsdk","last_synced_at":"2026-01-18T12:38:42.155Z","repository":{"id":177327916,"uuid":"660212398","full_name":"VegeBun-csj/Mini-CosmSDK","owner":"VegeBun-csj","description":"This is minimal cosmos rust sdk for setting up cosmos ecosystem blockchain","archived":false,"fork":false,"pushed_at":"2023-07-02T15:38:17.000Z","size":694,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-01-26T09:31:20.565Z","etag":null,"topics":["appchain","cosmos-sdk","rust"],"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/VegeBun-csj.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}},"created_at":"2023-06-29T13:51:18.000Z","updated_at":"2023-06-29T14:45:19.000Z","dependencies_parsed_at":"2023-10-11T09:11:47.749Z","dependency_job_id":null,"html_url":"https://github.com/VegeBun-csj/Mini-CosmSDK","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"3ee2ca906f52bded41b06608baf5a94d05543d50"},"previous_names":["vegebun-csj/mini-cosmsdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VegeBun-csj/Mini-CosmSDK","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VegeBun-csj%2FMini-CosmSDK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VegeBun-csj%2FMini-CosmSDK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VegeBun-csj%2FMini-CosmSDK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VegeBun-csj%2FMini-CosmSDK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VegeBun-csj","download_url":"https://codeload.github.com/VegeBun-csj/Mini-CosmSDK/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VegeBun-csj%2FMini-CosmSDK/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28536002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["appchain","cosmos-sdk","rust"],"created_at":"2026-01-18T12:38:40.828Z","updated_at":"2026-01-18T12:38:42.126Z","avatar_url":"https://github.com/VegeBun-csj.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mini-CosmSDK\n\nThis is minimal cosmos sdk implemented by rust\n\u003e The final goal is to implement the full function of cosmos sdk\n\n## Architecture\n* mini-cosm: Start command cli\n\n* modules: Base app and some cosmos modules\n\n\n\u003e Mini-CosmSDK uses the [tendermint-abci](https://crates.io/crates/tendermint-abci) crate to communicate with a consensus instance which runs as a separate process. Tendermint must be installed and run separately (see instructions below).\n\n## Requirements\n\n- **Rust compiler**\n\nThe minimum supported Rust version is 1.67.1. Follow the [installation instructions](https://doc.rust-lang.org/book/ch01-01-installation.html).\n\n- **Tendermint**\n\nwe uses Tendermint version v0.34.21. After cloning the [Tendermint repo](https://github.com/tendermint/tendermint) checkout v0.34.21 then follow the [installation instructions](https://github.com/tendermint/tendermint/blob/v0.34.21/docs/introduction/install.md).\n\n\n## Running a local chain\n\n1. Clone this repo:\n\n```console\ngit clone https://github.com/VegeBun-csj/Mini-CosmSDK.git\ncd Mini-CosmSDK\n```\n\n2. Initialize a new chain:\n\n```console\nmake init\n```\n\n3. Build and start the application:\n\n```console\nmake run\n```\n\nThe application will listen for connections on `tcp://127.0.0.1:26658`.\n\n4. From a different terminal window start Tendermint:\n\u003e you should have installed the tendermint and set it as the global command.\n\n```console\nmake tendermint-start\n```\n\nTendermint will connect to the application and bind it's RPC server to `127.0.0.1:26657`.\n\nThe chain (consisting of one node) is now up and running.\n\n\n## Querying the chain\n\n\u003e use mini-cosm as a client\n1. Install mini-cosm:\n\n```console\ncargo run --release\n```\n\n\u003e set the mini-cosm as the global command.\n\n2. Query a balance:\n\n```console\nmini-cosm query bank balances cosmos1syavy2npfyt9tcncdtsdzf7kny9lh777pahuux\n```\n\nWhich returns:\n\n```json\n{\n  \"balances\": [\n    {\n      \"denom\": \"uatom\",\n      \"amount\": \"34\"\n    }\n  ],\n  \"pagination\": null\n}\n```\n\nThe balance of this address was set to 34 in the genesis file.\n\n3. Import the key corresponding to the above address into the mini-cosm key store:\n\n```console\nmini-cosm keys add alice\n```\nand import with `race draft rival universe maid cheese steel logic crowd fork comic easy truth drift tomorrow eye buddy head time cash swing swift midnight borrow`.\n\n4. Send tokens:\n\n```console\nmini-cosm tx bank send alice cosmos180tr8wmsk8ugt32yynj8efqwg3yglmpwp22rut 10uatom --fee 1uatom\n```\n\n5. Query the address balance and observe that it has decreased by 11uatom which is the sum of the amount transferred and the fee:\n\n```console\nmini-cosm query bank balances cosmos1syavy2npfyt9tcncdtsdzf7kny9lh777pahuux\n```\n\nWhich returns:\n\n```json\n{\n  \"balances\": [\n    {\n      \"denom\": \"uatom\",\n      \"amount\": \"23\"\n    }\n  ],\n  \"pagination\": null\n}\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvegebun-csj%2Fmini-cosmsdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvegebun-csj%2Fmini-cosmsdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvegebun-csj%2Fmini-cosmsdk/lists"}