@razorlabs/razorkit
v2.0.0
Published
<p align="center"><a href="https://kit.razorwallet.xyz"> <img width="480" src="/assets/logo.png"/> </a></p>
Downloads
102
Readme
Razor Kit
👋 If you want to know how to install/use Razor Wallet, please visit our official website razorwallet.xyz or docs
Razor Kit is an all-in-one react toolkit for DApps to interact with wallets on Movement easily 🥳
Entry points
// The React kit: provider, connect button and modal, hooks.
import { WalletProvider, ConnectButton, useWallet } from '@razorlabs/razorkit';
import '@razorlabs/razorkit/style.css';
// The wallet client on its own — wallet discovery, the wallet-standard
// adapter, errors and chain constants, with no React in the import graph.
import { WalletRadar, MovementMainnetChain } from '@razorlabs/razorkit/core';The root entry re-exports everything in /core, so importing from either gives
you the same bindings. Reach for /core when you are not building with React.
⚠️
/corewas previously published as@razorlabs/wallet-sdk. That package is no longer released — move those imports to@razorlabs/razorkit/core.
Upgrading
Coming from 1.x? See the changelog for what breaks in 2.0.0: signing hooks no longer fire on their own, and React is now a peer dependency.
Documentation
See https://kit.razorwallet.xyz/docs/get-started
💡 Have fun with Demo Playground + Vite example repo
