BTC
Components
AddBtcWalletButton

AddBtcWalletButton

This component allows you to add a new BTC wallet to the signed-in de[id].

Usage

import { useDeId, useDeIdModal } from "@dustlabs/profiles/core";
import { AddBtcWalletButton } from "@dustlabs/profiles/btc";
 
function App() {
  const deId = useDeId();
 
  return <AddBtcWalletButton deId={deId} />
}

Props

import { AddBtcWalletButtonProps } from "@dustlabs/profiles/btc";

deId

DeIdContext

The application's de[id] context. Retrieved from useDeId.

For more information on why this is needed, check out the contribution guidelines.

options (optional)

ProfileButtonOptions

This parameter is the same interface as ProfileButtonOptions.