🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@orca-so/wavebreak-authorization-provider

Package Overview
Dependencies
Maintainers
6
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orca-so/wavebreak-authorization-provider

React provider + hook to request Wavebreak permission.

latest
Source
npmnpm
Version
1.1.7
Version published
Maintainers
6
Created
Source

@orca-so/wavebreak-authorization-provider

React provider + hook to obtain a Wavebreak Permission.

Usage:

import { WavebreakAuthorizationProvider, useWavebreakAuthorization } from '@orca-so/wavebreak-authorization-provider';

function App() {
  return (
    <WavebreakAuthorizationProvider>
      <BuyUi />
    </WavebreakAuthorizationProvider>
  );
}

function BuyUi() {
  const { requestPermission } = useWavebreakAuthorization();
  const buyBonk = async () => {
    const permission = await requestPermission({ subject: '<user-wallet>', discriminatorBytes: [8] });
    // submit Wavebreak buy with permission
  };
  return <button onClick={buyBonk}>Buy BONK</button>;
}

Notes:

  • Safe for SSR hydration
  • Provider abstracts transport and protocol details

Keywords

solana

FAQs

Package last updated on 14 Oct 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