Skip to content

dynamic-labs/dynamic-global-wallet-example

Repository files navigation

Dynamic Global Wallet Examples

A collection of example implementations showcasing Dynamic Global Wallet integration across different frameworks and platforms.

🌟 Overview

This repository demonstrates how to integrate Dynamic Global Wallet in various dApp environments. It contains:

  • A core Dynamic Global Wallet package (packages/dynamic-global-wallet)
  • Multiple example dApps showcasing different integration approaches (examples/)

📘 Looking to create your own Dynamic Global Wallet package? Check out the official Dynamic documentation.

🏗️ Project Structure

Core Package

The main Dynamic Global Wallet configuration is located at:

packages/dynamic-global-wallet/package.json

packages/dynamic-global-wallet/src/lib/config.ts

Integration

To integrate the Dynamic Global Wallet in your project, simply add these two lines to your main.ts:

import "<your-package-name>/eip6963";
import "<your-package-name>/solana-standard";

🚀 Getting Started

Prerequisites

  • Node.js v18 or higher
  • pnpm package manager

Installation

  1. Install dependencies:
pnpm install
  1. Build the Dynamic Global Wallet package:
pnpm build-dynamic-global-wallet

🔍 Example Applications

Run any of the following examples to see Dynamic Global Wallet in action:

Next.js Implementation

pnpm dynamic-nextjs

Vite Implementation

pnpm dynamic-vite

SDK-specific Examples

  • RainbowKit:

    pnpm rainbowkit-vite
  • Privy:

    pnpm privy-vite
  • ConnectKit:

    pnpm connectkit-vite

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published