New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@taquito/wallet-connect

Package Overview
Dependencies
Maintainers
4
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@taquito/wallet-connect

WalletConnect integration for Taquito applications.

latest
Source
npmnpm
Version
25.1.1
Version published
Weekly downloads
142
-58.96%
Maintainers
4
Weekly downloads
 
Created
Source

Taquito WalletConnect package (BETA)

:::info This feature is a work in progress, and might be refined in the near future. We encourage Taquito users to try this feature and reach out to us if you have any issues or concerns. :::

Documentation can be found here

General Information

@taquito/wallet-connect is an npm package that provides developers a way to connect a dapp built with Taquito to a wallet giving the freedom to the users of the dapp to choose the wallet via the WalletConnect/Reown protocol. The WalletConnect class implements the WalletProvider interface, providing an alternative to BeaconWallet. Note: Currently, a QR code is displayed to establish a connection with a wallet. As more Tezos wallets integrate with WalletConnect, we plan showing a list of available wallets alongside the QR code. Note: The current QR pairing flow still relies on the legacy WalletConnect modal package. We plan to replace that modal integration in a future release.

Install

Install the package as follows

npm install @taquito/wallet-connect

Usage

Create a wallet instance with defined option parameters and set the wallet provider using setWalletProvider to the TezosToolkit instance

import { TezosToolkit } from '@taquito/taquito';
import {
  NetworkType,
  PermissionScopeMethods,
  WalletConnect,
} from '@taquito/wallet-connect';

const wallet = await WalletConnect.init({
  projectId: "YOUR_PROJECT_ID", // can get YOUR_PROJECT_ID from [Reown Cloud](https://cloud.reown.com)
    metadata: {
        name: "Taquito Test Dapp",
        description: "Test Taquito with WalletConnect",
        icons: [],
        url: "",
    },
});

await wallet.requestPermissions({
    permissionScope: {
        networks: [NetworkType.SHADOWNET],
        events: [],
        methods: [
            PermissionScopeMethods.TEZOS_SEND,
            PermissionScopeMethods.TEZOS_SIGN,
            PermissionScopeMethods.TEZOS_GET_ACCOUNTS
        ],
    }
});

const Tezos = new TezosToolkit('https://YOUR_PREFERRED_RPC_URL');
Tezos.setWalletProvider(wallet);

Existing sessions can be restored with configureWithExistingSessionKey(). Restored sessions are validated before activation, so invalid or stale non-Tezos session data may be rejected during restore.

const existingSessionKey = wallet.getAllExistingSessionKeys()[0];

if (existingSessionKey) {
  wallet.configureWithExistingSessionKey(existingSessionKey);
}

Both session restore helpers are synchronous.

Additional Info

See the top-level https://github.com/ecadlabs/taquito file for details on reporting issues, contributing and versioning.

Disclaimer

THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Keywords

taquito

FAQs

Package last updated on 10 Nov 2026

Related posts