Skip to content

abstraction-hq/wallet-sdk

Folders and files

NameName
Last commit message
Last commit date
Jul 13, 2024
Jul 10, 2024
Jul 8, 2024
Jul 9, 2024
Jul 8, 2024
Jul 6, 2024
Jul 6, 2024
Jul 6, 2024
Jul 8, 2024
Jul 10, 2024
Jul 13, 2024
Jul 10, 2024
Jul 6, 2024
Jul 9, 2024
Jul 9, 2024

Repository files navigation

Abstraction Wallet SDK

Abstraction wallet SDK allow developers connect their Dapps to Abstraction Wallet via EIP-6963

Install Abstraction Wallet SDK

# yarn
yarn add @abstraction-hq/wallet-skd
# npm
npm install @abstraction-hq/wallet-sdk

Basic Usage

Use with EIP-6963

  1. Initialize Wallet
import { initAbstractionWallet } from "@abstraction-hq/wallet-sdk"

initAbstractionWallet()

Use with Provider

  1. Create provider
import { createAbstractionProvider } from "@abstraction-hq/wallet-sdk"

const provider = createAbstractionProvider()

2 Use provider

const addresses = provider.request({
  method: 'eth_requestAccounts',
});