/walletconnect-secure-storage

Securely store WalletConnect sessions in your Flutter applications using walletconnect_dart.

Primary LanguageDartMIT LicenseMIT

pub.dev Effective Dart Stars Issues MIT License

A session storage, to be used with walletconnect_dart to securely store walletconnect sessions using flutter_secure_storage.

WalletConnect is an open source protocol for connecting decentralised applications to mobile wallets with QR code scanning or deep linking. A user can interact securely with any Dapp from their mobile phone, making WalletConnect wallets a safer choice compared to desktop or browser extension wallets.

Once installed, you can simply connect your application to a wallet.

// Define a session storage
final sessionStorage = WalletConnectSecureStorage();
final session = await sessionStorage.getSession();

// Create a connector
connector = WalletConnect(
  bridge: 'https://bridge.walletconnect.org',
  session: session,
  sessionStorage: sessionStorage,
  clientMeta: const PeerMeta(
    name: 'WalletConnect',
    description: 'WalletConnect Developer App',
    url: 'https://walletconnect.org',
    icons: [
      'https://gblobscdn.gitbook.com/spaces%2F-LJJeCjcLrr53DcT1Ml7%2Favatar.png?alt=media'
    ],
  ),
);

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing & Pull Requests

Feel free to send pull requests.

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.