---
# System prepended metadata

title: Untitled

---

## Step 1: Setup Web3

web3.js is a javascript library that allows our client-side application to talk to the blockchain. We configure web3 to communicate via Metamask.

web3.js doc is [here](https://web3js.readthedocs.io/en/v1.2.2/getting-started.html#adding-web3-js).

## Step 2: Connect to DRK Chain

    // mainnet 
     const web3 = new Web3('https://rpc.draken.exchange');

## Connect to DRK Chain with Metamask

![](https://i.imgur.com/VTXduRp.png)
