Back to Fuels Ts

Connecting to the Network

apps/docs/src/guide/getting-started/connecting-to-the-network.md

0.103.01.3 KB
Original Source

Connecting to the Network

After installing the fuels package, it's easy to connect to the Network:

<<< @./snippets/connecting-to-the-network.ts#main{ts:line-numbers}

RPC URLs

These are our official RPC URLs:

NetworkURL
Mainnethttps://mainnet.fuel.network/v1/graphql
Testnethttps://testnet.fuel.network/v1/graphql
LocalhostRunning a local Fuel node

Resources

Access all our apps directly:

MainnetTestnet
Faucethttps://faucet-testnet.fuel.network/
Explorerhttps://app.fuel.networkhttps://app-testnet.fuel.network
Bridgehttps://app.fuel.network/bridgehttps://app-testnet.fuel.network/bridge
GraphQLhttps://mainnet.fuel.network/v1/playgroundhttps://testnet.fuel.network/v1/playground