# Integrate Embedded Wallets with the Avalanche Blockchain in Flutter

> Integrate Embedded Wallets with the Avalanche Blockchain in Flutter | Embedded Wallets

While using the Embedded Wallets Flutter SDK, you get the private key within the user scope after successful authorization. This private key can be used to retrieve the user's address, and interact with [Avalanche](https://www.avax.network/) to make any blockchain calls. We have highlighted a few here for getting you started quickly on that.

## Chain details for Avalanche

<Tabs
 defaultValue="mainnet"
  values={[
    { label: "Mainnet", value: "mainnet" },
    { label: "Fuji Testnet", value: "fuji" },
  ]}
>
<TabItem value="mainnet">

- **Chain ID:** 0xa86a
- **RPC URL:** You can use our bundled RPC service from Infura, or your own choice of RPC service for production.
- **Display Name:** Avalanche C-Chain
- **Block Explorer Link:** `https://snowtrace.io`
- **Ticker:** AVAX
- **Ticker Name:** Avalanche

</TabItem>

<TabItem value="fuji">

- **Chain ID:** 0xa869
- **Public RPC URL:** `https://api.avax-test.network/ext/bc/C/rpc`
- **Display Name:** Avalanche Fuji Testnet
- **Block Explorer Link:** `https://testnet.snowtrace.io`
- **Ticker:** AVAX
- **Ticker Name:** Avalanche

</TabItem>
</Tabs>

## Prerequisites

This doc assumes you have already setup your project in the Embedded Wallets dashboard (formerly Web3Auth), and have integrated Embedded Wallets in your Flutter app. If you haven't done that yet, you can learn how to [integrate Embedded Wallets in your Flutter app](/embedded-wallets/sdk/flutter/).

## Installation

<InstallationSnippet />

## Initialize

<InitialisationSnippet />

## Get account

<GetAccountSnippet />

## Get balance

<GetBalanceSnippet />

## Sign a transaction

<SignTransactionSnippet />

## Send transaction

<SendTransactionSnippet />

## Smart contract interactions

<TestContractSnippet />

### Deploy a contract

<DeployContractSnippet />

### Read from contract

<ReadContractSnippet />

### Write to Contract

<WriteContractSnippet />
