Skip to content

krl/cloth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloth

Implementation of the Ethereum Virtual Machine in clojure (ethereum.org)

Usage

Example test case:

(testing "sstore in init code"
  (let [[env address] (contract-helper-full 
                       "{ [[1312]] 1997 (return 0 (lll (return @@1312) 0))}")
        [env return]  (e/transaction env address)]
    (is (= return 1997))))

Necessary dependancies

You need to have lllc in your $PATH to make the tests run.

License

Copyright © 2014 Kristoffer Ström

Distributed under the Eclipse Public License, the same as Clojure.

About

Ethereum virtual machine implementation in Clojure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published