{"id":23812967,"url":"https://github.com/devashishdxt/stag","last_synced_at":"2025-04-13T12:07:25.515Z","repository":{"id":37132634,"uuid":"434479293","full_name":"devashishdxt/stag","owner":"devashishdxt","description":"IBC solo machine implementation","archived":false,"fork":false,"pushed_at":"2023-01-26T04:01:13.000Z","size":5168,"stargazers_count":4,"open_issues_count":8,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-02T02:39:05.552Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devashishdxt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-03T05:38:22.000Z","updated_at":"2024-05-20T19:48:38.000Z","dependencies_parsed_at":"2023-02-14T14:00:52.262Z","dependency_job_id":null,"html_url":"https://github.com/devashishdxt/stag","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devashishdxt%2Fstag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devashishdxt%2Fstag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devashishdxt%2Fstag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devashishdxt%2Fstag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devashishdxt","download_url":"https://codeload.github.com/devashishdxt/stag/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240072988,"owners_count":19743679,"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":"2025-01-02T02:39:05.905Z","updated_at":"2025-02-21T19:24:30.481Z","avatar_url":"https://github.com/devashishdxt.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stag\n\nThis repository implements IBC solo machine which can be used to interface with other machines \u0026 replicated ledgers\nwhich speak IBC.\n\n## Usage\n\n### Prerequisites\n\nBefore building and using `stag`, you need to install the following dependencies:\n\n1. Rust: https://rustup.rs/\n1. Just: https://just.systems/\n1. Protocol Buffer Compiler: https://grpc.io/docs/protoc-installation/\n\n### Stag CLI\n\n#### Building\n\nTo build `stag-cli`, run:\n\n```shell\njust build-cli\n```\n\nTo build `stag-cli` in release mode, run:\n\n```shell\njust build-cli-release\n```\n\n#### Installing\n\nTo install `stag-cli`, run:\n\n```shell\njust install-cli\n```\n\n\u003e For documentation on using `stag-cli`, refer [./stag-cli/README.md](./stag-cli/README.md)\n\n### Stag gRPC Server\n\n#### Building\n\nTo build `stag-grpc`, run:\n\n```shell\njust build-grpc\n```\n\nTo build `stag-grpc` in release mode, run:\n\n```shell\njust build-grpc-release\n```\n\n#### Installing\n\nTo install `stag-grpc`, run:\n\n```shell\njust install-grpc\n```\n\n#### Running\n\nTo run `stag-grpc`, run:\n\n```shell\nstag run-grpc\n```\n\n\u003e For more details on configuration options, run `stag-grpc start --help` after installing gRPC server on your local\nmachine.\n\n### Stag UI\n\n#### Prerequisites\n\n1. NodeJS: https://nodejs.org/en/ (for `tailwindcss`)\n1. wasm-pack: https://rustwasm.github.io/wasm-pack/ (Trunk automatically installs it but it's better to install it\n   yourself)\n1. Trunk: https://trunkrs.dev/\n\n#### Building\n\nTo build `stag-ui`, run:\n\n```shell\njust build-ui\n```\n\nTo build `stag-ui` in release mode, run:\n\n```shell\njust build-ui-release\n```\n\nThese will put all the built artifacts in `stag-ui/dist` directory.\n\n#### Running\n\nTo start an auto-reloading development server for `stag-ui`, run:\n\n```shell\njust serve-ui\n```\n\n## Testing\n\n### Prerequisites\n\nIn addition to the above dependencies, you need to install the following dependencies for testing:\n\n1. Ignite CLI: https://ignite.com/cli\n\n### Running Tests\n\nBefore running integration tests, you need to start a local blockchain:\n\n```shell\nignite scaffold chain github.com/devashish/mars --no-module\ncp mars-config.yml ./mars/config.yml\ncd mars\nignite chain serve\n```\n\n#### Integration tests (using SQLite)\n\nIn a new terminal window, run:\n\n```shell\njust test\n```\n\nTo run coverage tests, you'll need nightly Rust and `llvm-tools-preview` component.\n\n```shell\nrustup toolchain install nightly\nrustup component add --toolchain nightly llvm-tools-preview\n```\n\nTo get coverage report (in html format), run:\n\n```shell\njust coverage-html\n```\n\n#### Browser tests (using IndexedDB)\n\nIn a new terminal window, run (this will use Google Chrome to run browser tests, so, make sure that it is installed on\nyour machine):\n\n```shell\njust browser-test\n```\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE))\n- MIT license ([LICENSE-MIT](LICENSE-MIT))\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as\ndefined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevashishdxt%2Fstag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevashishdxt%2Fstag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevashishdxt%2Fstag/lists"}