npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

rise-wallet

v0.3.0

Published

Next-gen Account for Ethereum

Downloads

1,254

Readme

RISE Wallet

Next-generation smart contract wallet for Ethereum, built specifically for the RISE chain.

RISE Wallet is a fork of Porto, featuring passkey-based authentication, session keys, and seamless integration with modern web3 applications.

Features

  • Passkey Authentication: No seed phrases - use biometrics or security keys
  • Session Keys: Gasless transactions for improved UX
  • ERC-7702 Permissions: Granular control over wallet capabilities
  • Wagmi Integration: Drop-in replacement for traditional wallet connectors
  • Multi-platform: Works on web, mobile (React Native), and desktop

Documentation

For comprehensive guides and API reference, visit the RISE Documentation.

Quick Start

Installation

# npm
npm i rise-wallet wagmi viem @tanstack/react-query

# pnpm
pnpm add rise-wallet wagmi viem @tanstack/react-query

# yarn
yarn add rise-wallet wagmi viem @tanstack/react-query

# bun
bun add rise-wallet wagmi viem @tanstack/react-query

Basic Setup

1. Configure the Rise Wallet Connector

import { Chains, RiseWallet } from 'rise-wallet'
import { riseWallet } from 'rise-wallet/wagmi'
import { createConfig, http } from 'wagmi'

// Export the connector for advanced usage
export const rwConnector = riseWallet(RiseWallet.defaultConfig)

// Create wagmi config
export const config = createConfig({
  chains: [Chains.riseTestnet],
  connectors: [rwConnector],
  transports: {
    [Chains.riseTestnet.id]: http('https://testnet.riselabs.xyz'),
  },
})

2. Set Up Providers

'use client'

import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
import { WagmiProvider } from 'wagmi'
import { config } from './config'
import { useState } from 'react'

export function Providers({ children }: { children: React.ReactNode }) {
  const [queryClient] = useState(() => new QueryClient())

  return (
    <WagmiProvider config={config}>
      <QueryClientProvider client={queryClient}>
        {children}
      </QueryClientProvider>
    </WagmiProvider>
  )
}

3. Connect to Wallet

import { useConnect, useConnection, useDisconnect, useConnectors } from 'wagmi'

export function WalletButton() {
  const { address, isConnected } = useConnection()
  const connect = useConnect()
  const disconnect = useDisconnect()
  const connectors = useConnectors()

  if (isConnected) {
    return (
      <div>
        <span>{address}</span>
        <button onClick={() => disconnect.mutate()}>Disconnect</button>
      </div>
    )
  }

  const rwConnector = connectors.find(c => c.id === 'com.risechain.wallet')
  if (!rwConnector) return null

  return (
    <button onClick={() => connect.mutate({ connector: rwConnector })}>
      Connect with Passkey
    </button>
  )
}

Advanced Features

Session Keys

Create session keys for gasless transactions:

import { Hooks } from 'rise-wallet/wagmi'

const grantPermissions = Hooks.useGrantPermissions()

const createSession = async () => {
  await grantPermissions.mutateAsync({
    key: { publicKey: '...', type: 'p256' },
    expiry: Math.floor(Date.now() / 1000) + 3600, // 1 hour
    permissions: {
      calls: [{
        to: '0x...',
        signature: '0x...',
      }],
    },
  })
}

Batched Transactions

import { useSendCalls } from 'wagmi'

const sendCalls = useSendCalls()

await sendCalls.mutateAsync({
  calls: [
    { to: TOKEN_ADDRESS, data: approveCalldata },
    { to: DEX_ADDRESS, data: swapCalldata },
  ],
  atomicRequired: true,
})

Development

Apps

pnpm install # Install dependencies
pnpm dev # Run id, playground, and iframe dialog

Tests

pnpm install # Install dependencies
pnpm test # Test

Contracts

# Install Foundry
foundryup

forge build --config-path ./contracts/account/foundry.toml # Build
forge test --config-path ./contracts/account/foundry.toml # Test

forge build --config-path ./contracts/demo/foundry.toml # Build
forge test --config-path ./contracts/demo/foundry.toml # Test

Resources

License