GithubHelp home page GithubHelp logo

pinkdiamond1 / partner-relayer-deploy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aurora-is-near/partner-relayer-deploy

1.0 2.0 0.0 1.29 MB

Deploy NEAR and Aurora Relayer with up-to-date data, easily. Best0x3

License: Creative Commons Zero v1.0 Universal

Shell 58.96% Go 41.04%

partner-relayer-deploy's Introduction

Aurora Relayer & Near Core on mainnet

Requirements: docker, docker-compose, curl. x64-64 architecture.

  1. Run $ ./setup.sh. Wait until it finishes with "Setup Complete". This can take hours due to the volume of data to download.
  2. Run $ docker-compose up
  3. Enjoy

Testnet

Run $ ./setup.sh testnet to install a testnet instead of mainnet release.

Write transactions & custom signers

The default installation does not support write transactions. Instead it disables writing and sets up a placeholder key.

To enable write transactions, you need to:

  • Create an account on testnet/mainnet and load some NEAR on it.
  • Export the account's keypair and name into config/relayer.json (check the original file for format).
  • Change the signer entry in the config/testnet.yaml or config/mainnet.yaml to the account's name.
  • Set writable:true in config/testnet.yaml or config/mainnet.yaml.
  • Restart the endpoint container.

Updates

Due to fast changing development on both NEAR and Aurora-Relayer, it is paramount to keep on track with changes. Data releases and docker image releases are tightly synchronized. If you encounter any problems, it is likely by using an outdated docker image. Just update the images to fix.

Furthermore the database will occasionally require updates. This is done automatically by the "resilver" container that will be started automatically when the docker-compose is started. During resilvering the indexer or endpoint may throw errors. Please check the docker-compose file(s) for more information.

Finding RPC endpoint

The URL for the RPC endpoint is dynamic. Use below command to reveal it:

$ docker inspect -f '{{range.NetworkSettings.Networks}}http://{{.IPAddress}}:8545{{end}}' endpoint

partner-relayer-deploy's People

Contributors

jonathanlogan avatar acoshift avatar

Stargazers

Calcody-Lee Mcneill avatar

Watchers

 avatar Calcody-Lee Mcneill 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.