Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 1.99 KB

README.md

File metadata and controls

64 lines (48 loc) · 1.99 KB

avm-wallet

GitHub package.json version GitHub License

A framework agnostic Algorand wallet integration library with reactive framework adapters for React, Vue, and Solid.js.

avm-wallet fork

This is fork of avm-wallet intended to fix multiple issues found in it:

Difference betwen avm-wallet and avm-wallet is just the name of the import.

Example usage: https://github.com/AramidFinance/aramid-bridge-fe-vue/blob/c9e0bfe90122b7c8a9d56d2c2deac36f08098cd6/src/main.ts#L28

import { NetworkId, WalletId, WalletManagerPlugin } from 'avm-wallet-vue'

...

// Install the plugin
app.use(WalletManagerPlugin, {
  wallets: [
    WalletId.DEFLY,
    WalletId.PERA,
    WalletId.EXODUS,
    WalletId.KIBISIS,
    {
      id: WalletId.BIATEC,
      options: {
        projectId: '..'
      }
    },
    {
      id: WalletId.WALLETCONNECT,
      options: {
        projectId: '..'
      }
    }
  ],
  network: NetworkId.MAINNET
})

app.mount('#app')

Features

  • Easily add or remove wallet support with a few lines of code
  • Configure each wallet provider as needed for your application
  • Allow users to easily switch between active accounts and wallet providers
  • Sign and send transactions
  • Restore sessions for returning users
  • Full TypeScript support

Visit txnlab.gitbook.io/use-wallet for docs, guides, and examples!