FindoraNetwork / enterprise-web3

Enterprise Web3 Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enterprise Web3 Service

cat  redis-versioned-kv/lua/versioned-kv.lua | redis-cli -h 127.0.0.1 -p 6379 -x FUNCTION LOAD REPLACE

Design

  • Redis as store backend
    • Versioned KV on redis
  • Scalalbe Web3 service
    • Embedded EVM

Key Design

Account Basic

  • address:
    • balance: U256
    • code: U256
    • nonce: U256

Keys:

  • balance:addr.<0x>
  • code:addr.<0x>
  • nonce:addr.<0x>

State

  • address: H160
    • index: U256
      • value: H256

Keys:

  • state:addr.<0x>:index.<0x>

Transaction

  • txhash
    • txobject

Keys:

  • tx:hash.<0x>

Receipt

  • txhash
    • receipt object

Keys:

  • receipt:hash.<0x>

About

Enterprise Web3 Service


Languages

Language:Rust 98.6%Language:Dockerfile 0.6%Language:Lua 0.4%Language:Shell 0.4%