0.0.72 • Published 9 months ago

solana-modal v0.0.72

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

solana modal

A modal connection tool based on the official Solana package, simple and easy to use.

🫠😬Sorry, v0.0.5 is incorrect and cannot be used. It was a mistake I uploaded.

Please use version v0.0.6 or higher!

preview

dark

dark

light

dark

demo

Usage

$ npm install solana-modal
import { SolanaModal } from 'solana-modal'
const modal = SolanaModal.init({
  rpc: 'https://api.devtnet.solana.com',
  autoConnect: true,
})

// connect
const address = await modal.openModal()
// event
modal.on('DISCONNECT', () => {
    console.log('disconnect')
})

Very simple, And the theme automatically follows the system.

0.0.71

10 months ago

0.0.72

9 months ago

0.0.7

10 months ago

0.0.65

11 months ago

0.0.64

11 months ago

0.0.63

11 months ago

0.0.62

11 months ago

0.0.61

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago