Coder Social home page Coder Social logo

da-agg's Introduction

Build and deploy locally

cargo build
cargo run

Open localhost:8000 or localhost:8000/playground

Dockerize

This is specific to deploying on render.com. docker build is resource intensive. Increase memory and swap space on docker UI to the max and wait.

export DOCKER_DEFAULT_PLATFORM=linux/amd64
docker build -t <docker_id>/da:v1.0.0 .
docker push <docker_id>/da:v1.0.0 # may need to do docker login first

NEAR

  1. Create keypair using near cli
  2. Build and deploy Blob contract using the created account: https://docs.near.org/data-availability/integrations. NEAR_CONTRACT has to be set to account_id (the user provided string, similar to any user handle).
  3. Deploying doesn't call new() function. Run near contract call-function as-transaction daaggregator.testnet new text-args '' prepaid-gas '100.0 Tgas' attached-deposit '0 NEAR' sign-as daaggregator.testnet network-config testnet sign-with-keychain send

Celestia

https://docs.celestia.org/nodes/celestia-node

Get rpc endpoint here: https://docs.celestia.org/nodes/mocha-testnet#rpc-endpoints

VALIDATOR_NAME=dagg_celestia
CHAIN_ID=testnet
KEY_NAME=dagg1
  • We used github.com/eigenco/lumina for rust client.

da-agg's People

Contributors

0xbok avatar

Watchers

 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.