public_address_wallet 0.0.4 copy "public_address_wallet: ^0.0.4" to clipboard
public_address_wallet: ^0.0.4 copied to clipboard

outdated

A package to get verified public address from wallet using WalletConnect protocol v1.

Introduction #

WalletConnect connects mobile & web applications to supported mobile wallets. The WalletConnect session is started by scanning a QR code (desktop) or by clicking an application deep link (mobile).

Once installed, you can simply get verified address from wallet.

Usage #

    /// Create a connector
    var connector = WalletConnector(
        const AppInfo(name: "Mobile App", url: "https://example.mobile.com"));
    /// Get address
    var address = await connector.publicAddress().catchError((onError) {
        throw onError;
    });

If you want open wallet by your self, use initSession and get uri

    connector.initSession((uri) {
        // use session uri and connect to wallet by your way
        print(uri);
    });

Credits #

4
likes
0
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

A package to get verified public address from wallet using WalletConnect protocol v1.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

convert, cryptography, flutter, json_annotation, stack_trace, url_launcher, uuid, web_socket_channel

More

Packages that depend on public_address_wallet