Skip to content

A framework agnostic wallet integration library for Algorand dApps

License

Notifications You must be signed in to change notification settings

scholtz/avm-wallet

 
 

Repository files navigation

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.

use-wallet fork

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

Difference betwen avm-wallet and use-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!

About

A framework agnostic wallet integration library for Algorand dApps

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.4%
  • Shell 0.6%