The Map3 Supercharge Flutter SDK connects
Android and iOS crypto apps to Wallets, Exchanges & Bridges, enabling
cross-chain deposits and increasing volumes.
Android and iOS crypto apps to Wallets, Exchanges & Bridges, enabling
cross-chain deposits and increasing volumes.
Visit https://console.map3.xyz to generate YOUR_ANON_KEY
.
Visit https://console.map3.xyz/config and enable assets and networks.
flutter pub add supercharge_flutter
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
},
),
),
);
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
toolbarHeight: 0,
),
body: SuperchargeView(
superchargeConfig: superchargeConfig,
),
),
);
}
You can check out a detailed example in the example folder