Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aurora-is-near/partner-relayer-deploy
Deploy NEAR and Aurora Relayer with up-to-date data, easily.
https://github.com/aurora-is-near/partner-relayer-deploy
Last synced: 10 days ago
JSON representation
Deploy NEAR and Aurora Relayer with up-to-date data, easily.
- Host: GitHub
- URL: https://github.com/aurora-is-near/partner-relayer-deploy
- Owner: aurora-is-near
- License: cc0-1.0
- Created: 2021-11-13T02:00:52.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-29T03:14:45.000Z (over 2 years ago)
- Last Synced: 2023-03-11T03:34:39.725Z (almost 2 years ago)
- Language: Shell
- Homepage:
- Size: 1.26 MB
- Stars: 25
- Watchers: 7
- Forks: 12
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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. Enjoy
Testnet
=======Run `$ ./setup.sh testnet` to install a testnet instead of mainnet release.
Starting & Stopping
===================When running `./setup.sh` you should end up with a running node that is catching up with the network.
You can always stop and start the node by executing the `./stop.sh` or `./start.sh` command.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
=======The software in this installation is updated automatically. Whenever Aurora releases a new image, it will be
downloaded, and the component restarted.This is however not true for the included database and chain files. These are only downloaded initially when
running `./setup.sh`. Keep your node running to prevent going out of sync.Finding RPC endpoint
====================The RPC endpoint is at http://127.0.0.1:10080/ as well as on the public IPs of your computer.
Good to know
============- You can change the setup of the nginx reverse proxy by editing the contrib/nginx//endpoint.conf files. Restart the node afterwards.
- You can prevent listening on the public IP by modifying the docker-compose.yaml file. See embedded comments.Changes
=======v2.0
- Change naming scheme for docker images to make reuse easier.
- Add scaling of endpoints for better performance.
- Add reverse proxy for easier deployment and more stable operations.
- Add automatic update functionality.