Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

cryptape/ruby-ethereum

Repository files navigation

ruby-ethereum

Join the chat at https://gitter.im/janx/ruby-ethereum

A Ruby implementation of Ethereum.

Install Secp256k1

https://github.com/cryptape/ruby-bitcoin-secp256k1

Caveats

Increase Ruby Stack Size Limit

Or some tests will fail because the default stack size cannot hold a maximum (1024) levels deep VM stack.

Set RUBY_THREAD_VM_STACK_SIZE in your shell/environment:

export RUBY_THREAD_VM_STACK_SIZE=104857600 # 100M, 100 times default

License

MIT License

TODO

  • optimize memory foot print
  • add pruning trie
  • refactor abi types
  • refactor trie node types
  • review db.commit_refcount_changes usage