Giter Club home page Giter Club logo

armada's Introduction

Armada

Armada is a WIP PoC impl of Starknet full node.

And a "sibling" of Pathfinder.

Design Doc

Results

Run

ARMADA_INFURA_TOKEN=${INFURA_TOKEN} bin/run ${HOME}/Temp/armada integration --metrics

Status

  • Sequencer client
  • Ethereum client
  • Sync
    • event producers
      • parent block
      • pending block
      • latest block
      • ethereum state
    • event handlers
      • save block (+index)
      • index transactions
      • events
      • reorg
        • restore chain
        • keep the data
      • state update
        • dto mapping
        • nonce index
        • store index
      • classes
      • accounts
    • sync testkit
  • Storage
    • local
    • gzip
    • async?
    • remote? (AWS S3)
  • Indices
    • local (yakvdb)
    • remote? (AWS DynamoDB)
  • Testing
    • basic RPC test
    • basic sync test
    • mock-free testkit
    • make seq & eth tests hermetic (httpmock)
  • JSON-RPC API with iamgroot
  • JSON-RPC API methods impl:
    • starknet_getBlockWithTxHashes
    • starknet_getBlockWithTxs
    • starknet_getStateUpdate
    • starknet_getStorageAt
    • starknet_getTransactionByHash
    • starknet_getTransactionByBlockIdAndIndex
    • starknet_getTransactionReceipt
    • starknet_getClass
    • starknet_getClassHashAt
    • starknet_getClassAt
    • starknet_getBlockTransactionCount
    • starknet_call (needs SDK)
    • starknet_estimateFee (needs SDK)
    • starknet_blockNumber
    • starknet_blockHashAndNumber
    • starknet_chainId
    • starknet_pendingTransactions (pending block is ignored)
    • starknet_syncing
    • starknet_getEvents
    • starknet_getNonce
    • starknet_addInvokeTransaction (proxy call)
    • starknet_addDeclareTransaction (proxy call)
    • starknet_addDeployAccountTransaction (proxy call)
    • starknet_traceTransaction (needs SDK)
    • starknet_simulateTransaction (needs SDK)
    • starknet_traceBlockTransactions (needs SDK)

Relevant Links

Misc

Count LoC: find src tests -type f -name "*.rs" | xargs grep . | wc -l

*

WIP = Work In Progress

PoC = Proof of Concept

LoC = Lines of Code

armada's People

Contributors

sergey-melnychuk avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.