{"id":19139936,"url":"https://github.com/arcblock/ocap-rpc","last_synced_at":"2025-05-06T23:16:36.565Z","repository":{"id":96025634,"uuid":"142464751","full_name":"ArcBlock/ocap-rpc","owner":"ArcBlock","description":"blockchain RPC for elixir. Support various chains","archived":false,"fork":false,"pushed_at":"2019-12-31T00:27:08.000Z","size":1898,"stargazers_count":8,"open_issues_count":4,"forks_count":2,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-05-06T23:16:22.855Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/ArcBlock.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2018-07-26T16:11:10.000Z","updated_at":"2025-01-21T20:32:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"685c4c42-9514-480f-b01a-9b305f26d264","html_url":"https://github.com/ArcBlock/ocap-rpc","commit_stats":null,"previous_names":[],"tags_count":54,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcBlock%2Focap-rpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcBlock%2Focap-rpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcBlock%2Focap-rpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArcBlock%2Focap-rpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArcBlock","download_url":"https://codeload.github.com/ArcBlock/ocap-rpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252782835,"owners_count":21803410,"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-09T07:15:42.405Z","updated_at":"2025-05-06T23:16:36.556Z","avatar_url":"https://github.com/ArcBlock.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Block Chain RPC\n\nProvide basic RPC functionalities for various Chain, in elixir way.\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `ocap_rpc` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:ocap_rpc, \"~\u003e 0.0.0\"}\n  ]\nend\n```\n\n## Configuration\n\n```elixir\nconfig :ocap_rpc, :eth,\n  conn: %{\n    hostname: \"localhost\",\n    port: 8545\n  },\n  timeout: 5_000\n\nconfig :ocap_rpc, :btc,\n  conn: %{\n    hostname: \"localhost\",\n    port: 8332\n  },\n  timeout: 5_000\n\nconfig :ocap_rpc, :ipfs,\n  conn: %{\n    hostname: \"localhost\",\n    port: 5001\n  },\n  timeout: 5_000\n\nconfig :ocap_rpc, :cmt,\n  conn: %{\n    hostname: \"localhost\",\n    port: 8545\n  },\n  timeout: 5_000\n```\n\n## Environment Variable Dependencies\n\nTo let ocap_rpc work correctly, please make sure you have following environment variables set in runtime environment.\n\n  - BTC_RPC_HOST\n  - BTC_RPC_USER\n  - BTC_RPC_PASS\n  - ETH_RPC_HOST\n  - CMT_RPC_HOST\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/ex_bitcoin](https://hexdocs.pm/ex_bitcoin).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcblock%2Focap-rpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farcblock%2Focap-rpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcblock%2Focap-rpc/lists"}