{"id":26153960,"url":"https://github.com/Ellipsis-Labs/rpcx-hello-world","last_synced_at":"2025-03-11T08:03:00.501Z","repository":{"id":276015761,"uuid":"926596845","full_name":"Ellipsis-Labs/rpcx-hello-world","owner":"Ellipsis-Labs","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-04T21:37:18.000Z","size":85,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T20:47:44.248Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Ellipsis-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":"2025-02-03T14:39:32.000Z","updated_at":"2025-02-05T09:25:17.000Z","dependencies_parsed_at":"2025-02-07T03:01:16.651Z","dependency_job_id":null,"html_url":"https://github.com/Ellipsis-Labs/rpcx-hello-world","commit_stats":null,"previous_names":["ellipsis-labs/rpcx-hello-world"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ellipsis-Labs%2Frpcx-hello-world","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ellipsis-Labs%2Frpcx-hello-world/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ellipsis-Labs%2Frpcx-hello-world/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ellipsis-Labs%2Frpcx-hello-world/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ellipsis-Labs","download_url":"https://codeload.github.com/Ellipsis-Labs/rpcx-hello-world/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242995900,"owners_count":20218828,"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-03-11T08:02:10.279Z","updated_at":"2025-03-11T08:03:00.478Z","avatar_url":"https://github.com/Ellipsis-Labs.png","language":"Rust","funding_links":[],"categories":["Solana Infrastructure and RPC"],"sub_categories":["Notes"],"readme":"# rpcX Hello World Program\n\nA simple guide to getting started with rpcX from Ellipsis Labs.\n\nSee the [Atlas documentation](https://docs.atlas.xyz/rpc/rpcx/tutorial/custom) for a step-by-step guide to using this repo.\n\n## Setup\n\nYou will need to install the latest version of the `atlas-rpcx` CLI from the [Atlas release repo](https://github.com/Ellipsis-Labs/atlas-release/releases). Currently only Linux and MacOS are supported.\n\nSetup Rust to properly develop rpcX packages:\n\n```shell\ncargo install cargo-component\nrustup target add wasm32-wasip1\n```\n\nEnsure you have at least `rustc` version `1.81.0` installed.\n\n### Program\n\nIt is recommended that the sample program be built with `solana-cli` version `2.0.24`. To build the program, run:\n\n```shell\ncd program\ncargo build-sbf\n```\n\nThis should create a `target/deploy` directory containing the compiled program binary.\n\nMake sure there's a generated program ID keypair in the `target/deploy` directory.\n\n```shell\n$ echo $(solana-keygen pubkey target/deploy/rpcx_hello_world_program-keypair.json)\n```\n\nTo deploy the program, ensure you have a funded local Atlas testnet keypair and run:\n\n```shell\nsolana program deploy --use-rpc \u003cPATH_TO_PROGRAM_BINARY\u003e --url \u003cRPC_URL\u003e\n```\n\n### Script\n\nRun the following command to interact with the hello world program:\n\n```shell\n$ cargo run -- --program-id \u003cPROGRAM_ID\u003e\nTransaction confirmed: 5Dq9Nc2gHpUTQ6EyP8w7HG53p5E8sG2qSiH1htY7NZvByzYNTPtd4c3bZck4kXteL8CgGwAwKb3JEy69r415r8gK\n```\n\nYou may also provide the arguments `--payer \u003cPAYER_KEYPAIR_PATH\u003e` and `--rpc-url \u003cRPC_URL\u003e` to use a non-default payer or RPC URL.\n\n### rpcX Package\n\nRun the following command to build the rpcX package:\n\n```shell\n$ cargo component build --release --manifest-path rpcx-package/Cargo.toml\n```\n\nExpected output:\n\n```\nCreating component rpcx-package/target/wasm32-wasip1/release/rpcx_package.wasm\n```\n\n#### Testing a local rpcX Package\n\nTo test a local rpcX package use the `atlas-rpcx` CLI tool's `simulate` command:\n\n```shell\n$ atlas-rpcx simulate --help\n```\n\n#### Package Deployment\n\nTo deploy the rpcX package from the root directory:\n\n```shell\n$ atlas-rpcx registry deploy $(target/deploy/rpcx_hello_world_program-keypair.json) rpcx-package/target/wasm32-wasip1/release/rpcx_package.wasm  --url https://testnet.atlas.xyz\n```\n\n#### Interacting with a deployed rpcX Package\n\nTo interact with a deployed rpcX package use the `atlas-rpcx` CLI tool's `query` and `pubsub` commands:\n\n```shell\n$ atlas-rpcx query --help\n$ atlas-rpcx pubsub --help\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEllipsis-Labs%2Frpcx-hello-world","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEllipsis-Labs%2Frpcx-hello-world","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEllipsis-Labs%2Frpcx-hello-world/lists"}