DApp Connector

DApp connectors

NuFi offers several DApp connectors allowing it to interact with DApps across multiple blockchains. Below are instructions/resources clarifying how to integrate them.

Cardano

NuFi's Cardano connector implements the CIP-30arrow-up-right standard and the API should behave the same as Flint wallet's CIP-30 connector, except it's injected as window.cardano.nufi. More info at https://www.cardano-caniuse.ioarrow-up-right.

Ethereum / EVM

NuFi's Ethereum connector implements Metamask's API documented here: https://docs.metamask.io/guide/ethereum-provider.html#methods. When integrating NuFi we suggest following the eip-6963arrow-up-right standard.

Legacy eip-5749

NuFi still supports eip-5749arrow-up-right standard and you can load NuFi from window.evmproviders. However, its prefered to use eip-6963arrow-up-right instead.

Legacy window.ethereum injection

NuFi still offers legacy support and also tries to inject itself intowindow.ethereum, but we discourage using this approach and rather move to eip-5749 proposal. Note that in that case, NuFi will not inject its API if it detects Metamask or other wallet injecting into the window.ethereum object, to avoid interference with these wallets. Therefore, in order to use NuFi's Ethereum connector you need to make sure that there are no other active Ethereum wallet extensions (i.e. they must be disabled/uninstalled). NuFi supports Ethereum and all EVM networks.

Solana / SVM

NuFi's Solana connector can be integrated through the Solana Wallet Standard (https://github.com/anza-xyz/wallet-standardarrow-up-right). More info herearrow-up-right.

Bitcoin

NuFi's Bitcoin connector implements the sats-connectarrow-up-right standard and registers itself into the window.btc_providers global array, following the WBIP-0004 standardarrow-up-right. The API should behave the same as Xverse Bitcoin wallet connector, except it's injected as window.nufiBitcoin.

Flow

NuFi works with the official fcl-jsarrow-up-right SDK and is fully integrated with the fcl-discoveryarrow-up-right service. If you want to integrate NuFi directly, the parameters needed for that can be found herearrow-up-right.

Last updated