# Integrate Embedded Wallets with the Rootstock Blockchain in iOS/Swift Applications

> Integrate Embedded Wallets with the Rootstock Blockchain in iOS/Swift Applications | Embedded Wallets

While using the Web3Auth iOS 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 [Rootstock](https://ethereum.org/) to make any blockchain calls. We have highlighted a few here for getting you started quickly on that.

## Chain details for Rootstock

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

- **Chain ID:** 0x1e
- **Public RPC URL:** `https://public-node.rsk.co`
- **Display Name:** Rootstock Mainnet
- **Block Explorer Link:** `https://explorer.rootstock.io`
- **Ticker:** RBTC
- **Ticker Name:** Rootstock Bitcoin

</TabItem>

<TabItem value="testnet">

- **Chain ID:** 0x1f
- **Public RPC URL:** `https://public-node.testnet.rsk.co`
- **Display Name:** Rootstock Testnet
- **Block Explorer Link:** `https://explorer.testnet.rootstock.io`
- **Ticker:** tRBTC
- **Ticker Name:** Test Rootstock Bitcoin

</TabItem>
</Tabs>

## Prerequisites

- Project is set up in the MetaMask Developer Dashboard
- Web3Auth is [integrated in your iOS app](/embedded-wallets/sdk/ios/)

## Installation

<InstallationSnippet />

## Initialize

<InitialisationSnippet />

## Get account

<GetAccountSnippet />

## Get balance

<GetBalanceSnippet />

## Sign a message

<SignMessageSnippet />

## Send transaction

<SendTransactionSnippet />
