Skip to content

Instantly share code, notes, and snippets.

@nhaantraan
nhaantraan / web3.clj
Created October 29, 2021 06:46 — forked from matthewdowney/web3.clj
Call a smart contract from Clojure to query data from the Ethereum blockchain.
(ns web3
"Call an Ethereum smart contract (Uniswap v2) from Clojure.
Requires https://github.com/clj-python/libpython-clj for python interop. Also
make sure to $ pip install web3."
(:require [libpython-clj2.python :as py]
[libpython-clj2.require :refer [require-python]]))
(comment ;; deps.edn