Skip to content

Instantly share code, notes, and snippets.

View p4ulcristian's full-sized avatar

Paul Martin Cristian p4ulcristian

View GitHub Profile
@p4ulcristian
p4ulcristian / web3.clj
Created February 21, 2022 04:31 — forked from nhaantraan/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