{"id":26757007,"url":"https://github.com/effectai/neo-clojure-clr","last_synced_at":"2026-02-22T15:40:26.007Z","repository":{"id":94763321,"uuid":"112258863","full_name":"effectai/neo-clojure-clr","owner":"effectai","description":"Clojure CLR functions for interactive development on the NEO blockchain","archived":false,"fork":false,"pushed_at":"2017-12-18T16:41:03.000Z","size":89,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-22T05:04:44.475Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/effectai.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-11-27T23:00:41.000Z","updated_at":"2021-03-21T09:11:22.000Z","dependencies_parsed_at":"2023-03-14T07:46:09.076Z","dependency_job_id":null,"html_url":"https://github.com/effectai/neo-clojure-clr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/effectai/neo-clojure-clr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/effectai%2Fneo-clojure-clr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/effectai%2Fneo-clojure-clr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/effectai%2Fneo-clojure-clr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/effectai%2Fneo-clojure-clr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/effectai","download_url":"https://codeload.github.com/effectai/neo-clojure-clr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/effectai%2Fneo-clojure-clr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29717737,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T15:10:41.462Z","status":"ssl_error","status_checked_at":"2026-02-22T15:10:04.636Z","response_time":110,"last_error":"SSL_read: 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":[],"created_at":"2025-03-28T15:34:17.386Z","updated_at":"2026-02-22T15:40:25.987Z","avatar_url":"https://github.com/effectai.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"* Clojure CLR - NEO\nFunctions and tooling for NEO in Clojure, using the NEO core codebase.\n\nAims to add extra functionality to =neo-cli= and make interaction with\nthe blockchain more easy and fun.\n\n** Status\n   The code is in active development, pre-alpha. It should not be used\n   for anything critical. Please only use it in a private blockchain\n   environment for now.\n\n** Features\n   The following functionality is included:\n\n- [[#create-a-wallet][Create and load wallets]]\n- Claim gas for wallet\n- [[#load-and-sync-blockchain][Sync blockchain over RPC]]\n- [[#claim-initial-neo][Claim initial NEO from genesis block]]\n- Deploy smart contracts\n- Invoke smart contracts\n- Make transactions\n- Run an RPC server with extended commands\n- Keep track of assets\n** Getting Started\n*** Installation\n   It's hightly recommended to use the Docker image when running the\n   project, as setting up Clojure CLR with NEO can be tricky. Make\n   sure you have Docker 17.05 or above installed, then run the\n   following commands:\n\n   #+BEGIN_SRC\n$ git clone https://github.com/effectai/neo-clojure-clr\n$ cd neo-clojure-clr\n$ docker build . -t neo-clj-clr\n$ docker run --rm -it neo-clj-clr\nREPL 0.0.0.0:11217\nuser\u003e\n   #+END_SRC\n\n   This leaves you with a Clojure REPL in user namespace.\n*** Setup\n    The application assumes you have [[https://github.com/CityOfZion/neo-privatenet-docker][neo-privatenet-docker]] running\n    with an RPC server enabled on =http://localhost:10332=.\n\n    To interact with the blockchain you'll need to load some\n    namespaces. The examples below will assume the following setup:\n\n    #+BEGIN_SRC clojure\nuser\u003e (require '[neo-clj.core :as neo-clj]) \nuser\u003e (require '[neo-clj.blockchain :as bc]) \nuser\u003e (require '[neo-clj.rpc :as rpc])\nuser\u003e (require '[neo-clj.wallet :as wallet])\n    #+END_SRC\n\n** Examples\n**** Load and sync blockchain\n#+BEGIN_SRC clojure\nuser\u003e (def b (bc/create))\n#'user/b\nuser\u003e (bc/sync b)\nload block 0 of 1534\n...\n...\nload block 1534 of 1534\nnil\n#+END_SRC\n\n**** Create a wallet\n#+BEGIN_SRC clojure\nuser\u003e (def w (wallet/create \"wallet.db3\" \"pass\"))\n#'user/w\n#+END_SRC\n\n**** Claim initial NEO\n#+BEGIN_SRC clojure\nuser\u003e (def to (wallet/get-a-public-key w))\n#'user/to\nuser\u003e (def claim-tx (neo-clj/claim-initial-neo-tx to))\n#'user/claim-tx\nuser\u003e (bc/relay (:ctx claim-tx))\ntrue\nuser\u003e (bc/sync b)\n... \n...\nuser\u003e (wallet/neo-balance w)\n100000000\n#+END_SRC\n\n**** Start an RPC server\n#+BEGIN_SRC clojure\nuser\u003e (def server (rpc/create-server {:port 10336}))\n#'user/server\nuser\u003e (rpc/start-server server)\nStarting extended RPC server on port 10336\n#+END_SRC\n\n** RPC reference\nThe RPC server exposes the same [[https://github.com/neo-project/neo/wiki/API-Reference][methods]] as in the neo core server. In\naddition the following endpoints are available in =neo-clj=:\n\n| command   | parameters           | description                                                             |\n|-----------+----------------------+-------------------------------------------------------------------------|\n| getassets |                      | list all registered assets                                              |\n| getkeys   |                      | get all keys in rpc wallet                                              |\n| makekeys  | \u003cnum\u003e (optional)     | add \u003cnum\u003e new keys in rpc wallet                                        |\n| claimgas  | \u003caddress\u003e (optional) | claim gas for rpc wallet. if address is omitted, all addresses are used |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feffectai%2Fneo-clojure-clr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feffectai%2Fneo-clojure-clr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feffectai%2Fneo-clojure-clr/lists"}