Skip to main content

Third Party Wallet Configuration Guide

You can use Arcana Storage SDK with any of the supported third party wallet providers:

In this guide, you will learn how to configure these third party wallets in order to use them along with Arcana Storage SDK in your dApps. Refer to wallet specific configuration guides below:


MetaMask

Using MetaMask with Arcana Storage SDK

Arcana Storage SDK can be integrated with any dApp that allows it users to operate using MetaMask

MetaMask is currently available as a browser extension and as a mobile app on both Android and iOS devices.

note

For using MetaMask, the dApp developer does not need to do any additional configuration on either the Arcana Dashboard or while integrating with the Arcana Storage SDK.

However, any dApp user that uses MetaMask will need to make sure that they have a valid MetaMask account and the correct blockchain network is selected for their account that is connected to the dApp. It should be Arcana Wallet. The dApp users must follow these instructions below to add a new network into MetaMask wallet before they can use it to sign Arcana blockchain transactions for storage operations.

Add Arcana Network

It is assumed that you have already created a MetaMask account and have logged into it.

Go to Settings and click on Add Network button. For details, refer to the MetaMask guide.

Specify Arcana Network Details

You need to provide the following data for adding Arcana Network into MetaMask wallet:

Field DescriptionValue
Network NameArcana Network
New RPC URL

https://blockchain001-testnet.arcana.network

ChainID

40405

Currency SymbolXAR
Block Explorer URL Optional

https://explorer.beta.arcana.network

Figure below shows a sample MetaMask configuration for Arcana Network:

Arcana MetaMask Config

Make sure you save the newly added Arcana Network. Select this network in your MetaMask UI. It should show up once selected correctly, see figure below:

an_selected metamask

That is all. 🎉

You are all set to use MetaMask with Arcana Storage SDK in your dApp.

WalletConnect

Using WalletConnect with Arcana Storage SDK

WalletConnect is an open protocol to communicate securely between Wallets and dApps (Web3 Apps). Most dApps prefer to integrate with WalletConnect in order to plug in various blockchain wallets out there in order to support a wider range of users.

  1. To use WalletConnect with Arcana Storage SDK, dApp users need to first integrate with WalletConnect. As part of integration, the dApp must import and instantiate a WalletConnectProvider.

    import * as React from 'react';
    import WalletConnectProvider from '@walletconnect/react-native-dapp';

    export default function App(): JSX.Element {
    return (
    <WalletConnectProvider
    redirectUrl={Platform.OS === 'web' ? window.location.origin : 'yourappscheme://'}
    // do something
    }}>
    <>{/* awesome app here */}</>
    </WalletConnectProvider>
    );
    }

    Refer to WalletConnect Quick Start Guide to learn how a dApp can integrate with WalletConnect:

    This will populate all requisite signer and standard Ethereum provider interface within the dApp which the Storage SDK can automatically pick up. You don't need to provide any WalletConnectProvider object details explicitly while initializing Arcana Storage SDK in your dApp.

  2. Before a dApp user can use WalletConnect to hook their favorite blockchain wallet to sign Arcana blockchain transactions for storage access operations, they need to ensure that they add Arcana Network details in their respective wallet account.

    For example, if a dApp user chooses to use a MetaMask wallet and connects it to the dApp using WalletConnect, they need to follow instructions here for mobile linking via QR code based account connection.

    QR code connect

    Refer to your wallet specific instructions on how to plug in dApp user's wallet to WalletConnect. It supports several wallets, see full list here.

    wallet connect mobile linking

caution

Besides linking the dApp user wallet to WalletConnect as specified, the dApp user MUST make sure that their wallet account is connected to Arcana Network. Use wallet specific process to add a new network and configure it for Arcana Network using the details listed in the table below.

You need to provide the following data for adding Arcana Network via Add new Network option for your wallet:

Field DescriptionValue
Network NameArcana Network
New RPC URL

https://blockchain001-testnet.arcana.network

ChainID

40405

Currency SymbolXAR
Block Explorer URL Optional

https://explorer.beta.arcana.network

That is all. 🎉

You are all set to use WalletConnect with Arcana Storage SDK in your dApp.