/ruby-ethereum

A Ruby implementation of Ethereum.

Primary LanguageRubyMIT LicenseMIT

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