Coder Social home page Coder Social logo

sukrucildirr / elciao Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weavevm/elciao

0.0 0.0 0.0 1.01 MB

EVM light client indexer for AO

Home Page: https://wvm.dev

License: MIT License

Shell 0.12% JavaScript 91.55% Lua 8.07% Dockerfile 0.26%

elciao's Introduction

Synopsis

elciao is an EVM light client indexer for ao. It works by feeding a constant stream of EVM data (Ethereum, for this proof of concept) to an ao process, storing all future EVM block metadata and proofs on Arweave in perpetuity and making that available natively to other ao processes by default.

Build & Setup

Clone the repository and set up the environment:

git clone https://github.com/weavevm/elciao.git
cd elciao
docker compose up --build

After building the repository locally, update the environment variables according to .env.example. Once updated, run the following command to deploy the application:

docker compose up --build

After deployment, grab the deployed AO process ID.

For hosting on the cloud (e.g., Heroku), import the .env variables, including the PROCESS_ID, to your cloud service provider.

Tech stack

What elciao enables

Pushing EVM data to Arweave creates a permanent record of EVM history and exposes that history to dApps built on ao. Permanence of Ethereum history is an unsolved problem, and current bypasses rely on unincentivized archival nodes for storage.

EIP-4444 proposes a system like what we have built, using a storage-focused chain like Arweave as a guarantee that Ethereum data can always be recalled by client apps that need it, like block explorers and API interfaces for RPCs.

Storage guarantees aside, by exposing EVM data to ao elciao makes it so ao processes can verify transactions and smart contract states from EVM chains in a lightweight way, and ensure that data related to state changes, transaction outcomes and other proofs are always available.

Right now, EVM tooling on ao is in its very early stages of development, but once ao processes can call EVM libraries like ethers.js, ao processes can read from an elciao node to:

  • Use a trustless data and assets bridge with Ethereum and other EVMs
  • Trustlessly read data from Ethereum, with availability on ao which can facilitate building highly secure and decentralized wallets and infra

Check our live elciao testing node on ao.link

License

This project is licensed under the MIT License

elciao's People

Contributors

shresthagrawal avatar pkakelas avatar charmful0x avatar k4m4 avatar tzinas avatar sukrucildirr 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.