Rise Wallet
  • 🙌Introduction
    • Self-Custody
    • Best Practices
    • Bigger Picture
  • Features
    • ✨Active on Devnet
  • Integrations
    • ⛓️Integrate Rise Wallet
      • With the Wallet Adapter
      • Without the Wallet Adapter
        • Detecting the Provider
        • Establishing Connection
        • Sending Transactions
        • Signing Transactions
        • Signing Messages
    • 🎭Profile Picture Protocol
      • Get a Wallet's Profile Picture
      • Set a NFT as a Profile Picture
      • Clear Profile Picture
    • ⚡Rise Notifications
      • Sending Notifications
      • User Perspective
        • Notification Center
        • Subscription Management
      • API Endpoints
        • Broadcast Endpoint
        • Unicast Endpoint
        • List Casts Endpoint
        • View Cast Endpoint
        • Check Key Subscription Status
Powered by GitBook
On this page
  • Installation
  • Setup Wallet Provider
  • Additional documentation
  1. Integrations
  2. Integrate Rise Wallet

With the Wallet Adapter

PreviousIntegrate Rise WalletNextWithout the Wallet Adapter

Last updated 2 years ago

If you are using or planning to use the , please follow the setup below:

Installation

npm install @manahippo/aptos-wallet-adapter

Setup Wallet Provider

import React from 'react';
import {
  WalletProvider,
  RiseWalletAdapter,
} from '@manahippo/aptos-wallet-adapter';

const wallets = [
  new RiseWalletAdapter()
];

const App: React.FC = () => {
  return (
    <WalletProvider
      wallets={wallets}
      autoConnect={true | false} /** allow auto wallet connection or not **/
      onError={(error: Error) => {
        console.log('Handle Error Message', error);
      }}>
      {/* your website */}
    </WalletProvider>
  );
};

export default App;

Additional documentation

You can find all essential and additional documentation inside .

⛓️
Aptos Wallet Adapter
Wallet Adapter's documentation