Skip to content

Latest commit

 

History

History
88 lines (60 loc) · 3.09 KB

GETTING_STARTED.md

File metadata and controls

88 lines (60 loc) · 3.09 KB

Getting Started

Requirements

This project includes both frontend and contracts. To begin, install dependencies:

Running Project Locally

📚 - Getting the Repository

  1. Visit the Fuel Bridge repo and fork the project.
  2. Then clone your forked copy to your local machine and get to work.
git clone https://github.com/FuelLabs/fuel-bridge.git
cd fuel-bridge

📦 - Install Dependencies

pnpm install

📒 - Run Nodes

In this step, we are going to;

  • launch a local fuel node and a local ethereum node;
pnpm node:up

To stop the nodes, run:

pnpm node:stop

To clean the nodes, run:

pnpm node:clean

📗 Project Overview

This section has a brief description of each directory. More details can be found inside each package, by clicking on the links.

🧰 Useful Scripts

To make life easier we added as many useful scripts as possible to our package.json. These are some of the most used during development:

pnpm <command name>
Script Description
build Run all build commands generating the artifacts needed to run tests or deploy packages.
test Run all the tests from all the packages
node:up Run the local network with fuel-core and the ethereum node.
node:clean Stop and remove all development containers that are running locally.
node:stop Stop all containers without removing data

Other scripts can be found in package.json.

Run Tests

The command below runs a script that starts the nodes, waits for them to be available and then executes the tests.

pnpm test