Skip to content

Commit

Permalink
Merge pull request #283 from massalabs/update-hello-world-documentation
Browse files Browse the repository at this point in the history
update chainID
  • Loading branch information
Ben-Rey authored Feb 6, 2024
2 parents 00ef8a1 + e923784 commit 187e5b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/build/hello-world-dapp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ import {
bytesToStr,
WalletClient,
DefaultProviderUrls,
BUILDNET_CHAIN_ID,
} from "@massalabs/massa-web3";

import { useEffect, useState } from "react";
Expand All @@ -277,6 +278,7 @@ function Content() {
const initClient = async () => {
const client = await ClientFactory.createDefaultClient(
DefaultProviderUrls.BUILDNET,
BUILDNET_CHAIN_ID,
false
);
setWeb3client(client);
Expand Down

0 comments on commit 187e5b1

Please sign in to comment.