terra_dart_onchain_payments 1.0.0
terra_dart_onchain_payments: ^1.0.0 copied to clipboard
Internally manages gas estimation required by the burn tax for successful transactions on the blockchain. Makes it easier for devs to get started with payments on the LUNC/LUNA Blockchains.
A lightweight payment management library for terra ecosystem
Explore the Docs »
Example App
·
API Reference
·
Pub Package
·
GitHub
Internally manages gas estimation required by the burn tax for successful transactions on the blockchain. Makes it easier for devs to get started with payments on the LUNC/LUNA Blockchains.
Features #
- Written in Dart, with type definitions
- Works with the Flutter & Dart Ecosystems, in the browser, and Mobile solutions for anyone building on the Terra Ecosystem
- Makes it easier to manage payments for anyone deploying to the app store
Installation & Configuration #
Grab the latest version off Pub
dart pub add terra_dart_onchain_payments
Usage #
This package can be used for Mobile & Web Developers, or SDK Developers looking to extend the Terra Platform
Manage Payments #
///Requires USD amount being charged to the customer
///Returns a Tx hash of the payment transaction if successful, and internally manages burn tax
///for successful gas fees
String chargeCustomer(double usd, String walletAddress);
/// Returns the total funds accumulated in your business wallet
double totalFundsInWallet(String businessWallet);
License #
This software is licensed under the MIT license. See LICENSE for full disclosure.
© 2022 TerraMystics.