
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
@aurora-is-near/staking
Advanced tools
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.
yarn add @aurora-is-near/staking
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
Contains logic for staking and unstaking Aurora
We found that @aurora-is-near/staking demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

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.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.