Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Global wallet examples

This repository contains example projects demonstrating the integration of a global wallet SDK. Each project is based on a different TypeScript framework, but this list is not exhaustiveโ€”the SDK can be integrated into other frameworks as well

๐Ÿ›๏ธ Project structure

The examples folder contains a list of projects with an integrated Rootstock global wallet SDK under the hood. The Rootstock global wallet SDK serves as an example implementation that can be quickly integrated into different projects. You can replace it with your own white-labeled SDK that you will receive after partnering with Blockscout

Example of Rootstock global wallet SDK integration:

import "@blockscout/rootstock-global-wallet/ethereum";

๐Ÿค– Integration

To use a global wallet in any project, you simply need to import it:

import "<your-package-name>/ethereum";
import "<your-package-name>/solana";

The file where you should place the import depends on the framework you're using:

  1. Vite โ†’ main.ts (or main.tsx)
  2. Next.js โ†’ layout.tsx

๐Ÿš€ Getting started within each project

Prerequisites:

  • Node.js v18 or higher
  • pnpm package manager

Installation and testing

  1. Install dependencies:
pnpm install
  1. Run the project:
pnpm run dev

About

The repo with global wallet SDK examples

Resources

Security policy

Stars

Watchers

Forks

Contributors