Giter Site home page Giter Site logo

lava-commit's Introduction

Lava Auto Commit

This repository contains a GitHub Actions workflow for automatically fetching data from multiple blockchain networks (Ethereum, NEAR, StarkNet, and Axelar) and committing the changes to the repository.

Usage

Get Started

To use this workflow, follow these steps:

  1. Use this template: Click on the "Use this template" button on the GitHub repository page to create a new repository based on this template.

  2. Name your repository: Give your new repository a name of your choice.

  3. Configure workflow: After creating the repository, navigate to the Actions tab and click on "Set up a workflow yourself". Copy and paste the content of the main.yml file from this repository into the editor.

  4. Set user email and name: Update the GIT_USER_EMAIL and GIT_USER_NAME environment variables in the workflow file (main.yml) to reflect your GitHub account details.

  5. Update RPC URLs: Update the RPC URLs in each script file (ethereum.sh, near.sh, starknet.sh, and axelar.sh) with the corresponding URLs of your blockchain networks.

  6. Run the workflow: The workflow is triggered automatically on a schedule (every 15-20 minutes) and can also be manually triggered from the GitHub UI.

Manual Trigger

You can manually trigger the workflow from the GitHub UI by selecting the "Run workflow" option.

Files

  • ethereum.sh: Script to fetch data from the Ethereum network.
  • near.sh: Script to fetch data from the NEAR network.
  • starknet.sh: Script to fetch data from the StarkNet network.
  • axelar.sh: Script to fetch data from the Axelar network.

Workflow

The workflow consists of multiple jobs, each corresponding to a different blockchain network. The jobs are executed sequentially, with each job depending on the completion of the previous job.

  • ethereum_auto_commit: Fetches data from the Ethereum network and commits the changes to the repository.
  • near_auto_commit: Fetches data from the NEAR network and commits the changes to the repository.
  • starknet_auto_commit: Fetches data from the StarkNet network and commits the changes to the repository.
  • axelar_auto_commit: Fetches data from the Axelar network and commits the changes to the repository.

lava-commit's People

Contributors

rmndkyl avatar dante4rt avatar

Stargazers

 avatar Kiboyy avatar abdulbinjai32 avatar Sonaanikar avatar abdulsandana avatar amansuraman216 avatar

Watchers

Lucian 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.