Socket
Book a DemoInstallSign in
Socket

@aurora-is-near/staking

Package Overview
Dependencies
Maintainers
4
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurora-is-near/staking

Contains logic for staking and unstaking Aurora

1.6.6
latest
npmnpm
Version published
Weekly downloads
9
12.5%
Maintainers
4
Weekly downloads
 
Created
Source

Aurora Staking SDK

A React library that contains logic for staking and unstaking AURORA.

This repository enforces semantic commit messages. For more details and examples see the Conventional Commits Specification.

Installation

yarn add @aurora-is-near/staking

Usage

Wrap your application in a StakingProvider:

import { StakingProvider } from '@aurora-is-near/staking';

<StakingProvider
  network="mainnet"
  getStreamPrices={() => ({
    prices: [100, 200],
    marketCaps: [1000, 2000],
  })}
>
  {/** ... */}
</StakingProvider>

The getStreamPrices function is responsible for taking a list of CoinGecko token names (as defined in the config.ts) and returning the USD prices and market caps for each.

Staking functionality can be accessed via the useStaking hook.

FAQs

Package last updated on 09 Jul 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.