0.0.72 • Published 11 months ago

solana-modal v0.0.72

Weekly downloads
-
License
MIT
Repository
github
Last release
11 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

12 months ago

0.0.72

11 months ago

0.0.7

12 months ago

0.0.65

1 year ago

0.0.64

1 year ago

0.0.63

1 year ago

0.0.62

1 year ago

0.0.61

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago