Giter Club home page Giter Club logo

bridge-integration-tests's Introduction

⚠️ Archival Notice

This repo has been migrated to https://github.com/FuelLabs/fuel-bridge

Fuel Messaging Bridge Integration Tests

Integration tests for the Fuel Messaging Bridge.

Building From Source

Dependencies

dep version
Node.js >=v14.0.0

Building

Install dependencies:

pnpm install

Running Tests

Before running the integration tests, you need to spin up a full development stack complete with an Ethereum client and Fuel client. You can use the easy docker setup detailed here.

Run tests:

pnpm test

Example Scripts

The test logic can also be run in script form. These scripts act as examples for how to bridge ETH and ERC-20 based assets to and from Fuel using the TS-SDK.

pnpm bridgeETH
pnpm bridgeERC20

Running on Goerli

The scripts can easily be run on other network setups like Goerli by modifying environment variables. Refer to the example environment file for creating your own .env file configured for your target. You will need to provide URLs for both Fuel and Ethereum providers as well as private keys for executing transactions on the networks. You will also need to provide the bridge contract addresses and ERC-20/fungible token contract addresses if you wish to test bridging ERC-20 tokens.

License

The primary license for this repo is UNLICENSED, see LICENSE.

bridge-integration-tests's People

Contributors

luizstacio avatar pixelcircuits avatar voxelot avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bridge-integration-tests's Issues

Remove copied dependencies from other repos

There are currently several hard coded dependencies from other repositories. These should be removed and replaced with a build process that pulls them in at specified release versions.

This includes:

  • bridge-fungible-token
  • fuel-v2-contracts

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.