Æternity <> Ethereum Bridge
This application is created for interacting with the æternity <> EVM Bridge contracts provided by Acurast. Executing proper bridge actions using this application will result in moving the sent funds to the other chain.
Getting started
Before running the application, first project dependencies needs to be installed with the following command:
yarnAfterwards, to run the application locally in development mode, following command needs to be run at the project directory:
yarn startBuild and run the application
This application doesn't contain any secrets and can be run by any machine with the following packages installed: node, npm, yarn
Running locally
After completing the Getting started successfully, following command will build the application and make it ready to be served either on a local machine or on a server:
yarn buildTo serve the build, there is a need for an additional package called serve, can be installed via:
with yarn:
yarn global add servewithout yarn:
npm -g install serveFinally, to run the build:
serve -s buildRunning in a docker container
Project has a Dockerfile in place. So, it can be easly run in a docker container with the following commands:
build the container:
docker build -t aepp-bridge .and run:
docker run -d -p 3000:80 aepp-bridgeit should be served at localhost:3000
Running on a cloud service
If you want to run the bridge on free cloud service, following steps can be taken:
- Fork this repository 
- Create an account for a cloud deployment service (Vercel, Netlify, AWS etc) 
- Connect your GitHub account to your cloud platform selection 
- Create a new app under your cloud service 
- Configure your application using your forked repo with the standard node application deployment settings 
- Deploy and self host your bridge application 
Last updated
Was this helpful?
