Socket
Book a DemoInstallSign in
Socket

@apillon/wallet-react

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apillon/wallet-react

▶◀ Apillon Embedded Wallet React UI ▶◀

3.0.3
latest
Source
npmnpm
Version published
Maintainers
3
Created
Source

Embedded Wallet React helpers

Collection of React hooks to help with embedded wallet implementation.

Component <EmbeddedWallet />

Initialize wallet SDK and UI.

import { EmbeddedWallet } from '@apillon/wallet-react';

return <EmbeddedWallet ...props />;

Hooks

useWallet

Get the initialized instance of embedded wallet.

Also exposes the most common wallet actions.

import { useWallet } from '@apillon/wallet-react';

const { wallet, signMessage, sendTransaction } = useWallet();

console.log(await wallet.userExists('johndoe'));

useAccount

Get current connected account info.

import { useAccount } from '@apillon/wallet-react';

const { info, getBalance } = useAccount();

useContract

Helper methods to interact with contracts.

import { useContract } from '@apillon/wallet-react';

const { read, write } = useContract({
  abi: ERC20Abi,
  address: '0xb1058eD01451B947A836dA3609f88C91804D0663',
});

console.log(await read('balanceOf', [address]));

const txHash = await write(
  'transfer',
  ['0x700cebAA997ecAd7B0797f8f359C621604Cce6Bf', '10000000'],
  'React Transfer'
);

usePolkadot

Helpers for interacting with polkadot API.

import { usePolkadot } from '@apillon/wallet-react';

const { polkadotApi, sendTransaction } = usePolkadot();

sendTransaction(polkadotApi.tx.balances.transferAllowDeath(...));

FAQs

Package last updated on 27 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.