0 purchases
supercharge flutter
💸 Supercharge Flutter
The Map3 Supercharge Flutter SDK connectsAndroid and iOS crypto apps to Wallets, Exchanges & Bridges,
enablingcross-chain deposits and increasing volumes.
Documentation
·
Website
·
GitHub
·
Contact
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
copied to clipboard
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
},
),
),
);
copied to clipboard
Initialization #
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
toolbarHeight: 0,
),
body: SuperchargeView(
superchargeConfig: superchargeConfig,
),
),
);
}
copied to clipboard
Detailed example #
You can check out a detailed example in the example folder
Other links #
Map3 Supercharge Flutter SDK package
Flutter Docs
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.