Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
873c190
Add support for testrpc 3.0
pelle Oct 24, 2016
55cce44
saving initial work on rlp
pelle Jul 3, 2016
5b3cd7b
implement RLP encoding
pelle Aug 21, 2016
ed3982f
Handle decoding lists of <= 55 elements
pelle Aug 21, 2016
f3f4753
handle larger lists
pelle Aug 21, 2016
acb9945
saving unfinished cljs version
pelle Aug 22, 2016
7df602a
new SNAPSHOT version
pelle Sep 21, 2016
dec8c04
start of refactoring util into clearer packages
pelle Oct 3, 2016
f23ba13
update most code to use refactored byte routines
pelle Oct 3, 2016
2a16a20
Saving more work
pelle Oct 3, 2016
e3946e2
all is passing clj
pelle Oct 3, 2016
b6bc9fd
native padding in cljs
pelle Oct 3, 2016
0b7f471
handle uints in clojurescript
pelle Oct 3, 2016
b1292c1
Saving work. Battling trying to get 2s complement google integers wor…
pelle Oct 3, 2016
716e03e
saving work on integer stuff
pelle Oct 4, 2016
974a4c8
Use bn.js
pelle Oct 4, 2016
da0d658
add js-sha3 dependency
pelle Oct 4, 2016
e2e8722
Fix remaining cljs failures in cloth.util due to refactoring
pelle Oct 4, 2016
4f097e5
saving work
pelle Oct 24, 2016
476f3a1
Bump dependencies
pelle Dec 17, 2016
ae01b81
clj tests pass
pelle Dec 17, 2016
e027176
bytes and utils pass on both platforms
pelle Dec 17, 2016
dce6e6f
Full test pass for rlp for both platforms
pelle Dec 18, 2016
42540b3
Keys revamp passing in cl
pelle Dec 18, 2016
44c63b2
Keys mostly work in cljs
pelle Dec 18, 2016
0333b56
attempted to fix it, but no luck so far
pelle Dec 19, 2016
79f362a
bump aleph to fix some dependency issues
pelle Dec 19, 2016
2f70c41
I picked the wrong aleph before
pelle Dec 19, 2016
ea52f24
Saving work
pelle Dec 19, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ index.html

*.asc
.lein-failures

.DS_Store
39 changes: 18 additions & 21 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
(defproject cloth "0.3.1"
(defproject cloth "0.4.0-SNAPSHOT"
:description "Clojure(Script) tools for Ethereum"
:url "https://github.com/pelle/cloth"
:dependencies [[org.clojure/clojure "1.9.0-alpha8"]
[org.clojure/clojurescript "1.9.229"]
[org.clojure/core.async "0.2.391"]
[org.clojure/clojurescript "1.9.293"]
[org.clojure/core.async "0.2.395"]
[funcool/cats "2.0.0"]
[funcool/promesa "1.5.0"]
[funcool/promesa "1.6.0"]
[funcool/httpurr "0.6.2"]
[aleph "0.4.1" :scope "provided"]
[funcool/cuerdas "1.0.2"]
[org.ethereum/ethereumj-core "1.2.0-RELEASE"]
[clj-time "0.12.0"]
[aleph "0.4.2-alpha10"]
[funcool/cuerdas "2.0.1"]
[clj-time "0.12.2"]
[com.andrewmcveigh/cljs-time "0.4.0"]
[byte-streams "0.2.2"]
[secp256k1 "1.0.3"]
[org.bouncycastle/bcprov-jdk15on "1.55"]
[com.cemerick/url "0.1.1"]
;[cljsjs/bignumber "2.1.4-1"]

[cheshire "5.6.3"]]
[cheshire "5.6.3"]
[funcool/octet "1.0.1"]]
:jvm-opts ^:replace ["-Xmx1g" "-server"]
:plugins [[lein-npm "0.6.1"]
[lein-cljsbuild "1.1.3"]
Expand All @@ -31,30 +31,27 @@
[derequire "2.0.3"]
[browser-builds "pelle/browser-builds#babelify"]]}

;; NOT WORKING
:aliases {"build-ethjs" ^{:doc "Build version of ethereumjs-tx"}
["shell"
"cat" "node_modules/browser-builds/dist/ethereumjs-tx.js" "|" "derequire"
">src/ethereumjs-tx/ethereumjs-tx.js"]}
:profiles {:dev {:plugins [[lein-auto "0.1.2"]
[lein-shell "0.5.0"]]}}
:cljsbuild
{:builds {:dev {:source-paths ["src"]
:figwheel true
:compiler {:optimizations :none
:main cloth.core
:source-map true
:asset-path "js/out"
:output-to "resources/public/js/cloth.js"
:output-dir "resources/public/js/out"}}
:test {:source-paths ["src" "test"]
:compiler {:output-to "out/testable.js"
:main cloth.runner
:main "cloth.runner"
:source-map true
:optimizations :none}}
:advanced {:source-paths ["src" "test"]
:compiler {:output-to "out/testable.js"
:main "cloth.do-runner"
:optimizations :advanced}}}}
;:advanced {:source-paths ["src" "test"]
; :compiler {:output-to "out/testable.js"
; :main "cloth.do-runner"
; :optimizations :advanced}}
}}
:doo {:build "test"}
:source-paths ["src" "target/classes"]
:clean-targets ["out" "release" "target"]
Expand Down
Loading