Skip to content

💸 The Map3 Supercharge Flutter SDK connects Android and iOS crypto apps to Wallets, Exchanges & Bridges, enabling cross-chain deposits and increasing volumes.

License

Notifications You must be signed in to change notification settings

map3xyz/supercharge_flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💸 Supercharge Flutter

The Map3 Supercharge Flutter SDK connects
Android and iOS crypto apps to Wallets, Exchanges & Bridges, enabling
cross-chain deposits and increasing volumes.

pub points popularity likes


Requirements

1. Generate an Anon Key

Visit https://console.map3.xyz to generate YOUR_ANON_KEY.

2. Enable assets and networks

Visit https://console.map3.xyz/config and enable assets and networks.

Installation

flutter pub add supercharge_flutter

Configuration

    superchargeConfig = SuperchargeConfig(
      anonKey: 'YOUR_MAP3_ANON_KEY',
      userId: 'YOUR_END_USER_ID',
      options: SuperchargeConfigOptions(
        callbacks: SuperchargeConfigOptionsCallbacks(
          onAddressRequested: (coin, network) async {
            return {
              'address': 'ADDRESS',
            }; // e.g. 0xab5801a7d398351b8be11c439e05c5b3259aec9b
          },
        ),
      ),
    );

Initialization

@override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          toolbarHeight: 0,
        ),
        body: SuperchargeView(
          superchargeConfig: superchargeConfig,
        ),
      ),
    );
  }

Detailed example

You can check out a detailed example in the example folder

Other links

About

💸 The Map3 Supercharge Flutter SDK connects Android and iOS crypto apps to Wallets, Exchanges & Bridges, enabling cross-chain deposits and increasing volumes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published