tatum 1.0.3 copy "tatum: ^1.0.3" to clipboard
tatum: ^1.0.3 copied to clipboard

outdated

Generated Dart libraries for accessing Tatum APIs.

Tatum APIs #

Generated Dart libraries for accessing Tatum APIs.

tatum flutter

Getting started #

To get started copy: tatum: ^1.0.2 paste into your pubspec.yaml and run flutter pub get

Then import

import 'package:tatum/tatum.dart'

Usage #

To use, simple add inside main() function before runApp if using flutter.

Tatum.initArchitecture();

then instanciate by doing this:

final tatum = Tatum.instance;

OR

final tatum = Tatum.v3;

Then set api key;

tatum.setKey('your-api-key');

An example call

final bitcoin = tatum.bitcoin;
final wallet = await bitcoin.generateWallet();
final address = await bitcoin.generateAddress(xpub: wallet.xpub, index: 1);

That simple.

Additional information #

Generated Dart libraries for accessing Tatum APIs.

To use these APIs from Flutter, see the Generic Tatum APIs documentation.

For example of using these APIs from a Dart console example see the example in this package. For an example of usage in a server application, see this example.

Available Tatum APIs #

The following is a list of APIs that are currently available inside this package.

Blockchain #

Algorand API

Algorand is a decentralized blockchain technology network. Algorand is enabling the simple creation of next generation financial products, protocols and exchange of value across defi, financial institutions and governments. Tatum supports 2 chains:

final algorand = tatum.algorand;
final wallet = await algorand.generateWallet();

Bitcoin API

Bitcoin Blockchain enables access to the most commonly used Bitcoin methods. These methods bring a small level of abstraction and are used for applications that communicate with the blockchain directly. Some of the methods are used alongside Tatum Private Ledger to connect the blockchain and the private ledger, like wallet generation or getting information about transactions. Tatum supports 2 chains:

final bitcoin = tatum.bitcoin;
final wallet = await bitcoin.generateWallet();

Bitcoin Cash

Bitcoin Cash Blockchain enables access to the most commonly used Bitcoin Cash methods. These methods bring a small level of abstraction and are used for applications that communicate with the blockchain directly. Some of the methods are used alongside Tatum Private Ledger to connect the blockchain and the private ledger, like wallet generation or getting information about transactions. Tatum supports 2 chains:

final bCash = tatum.bCash;
final wallet = await bCash.generateWallet();
2
likes
0
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

Generated Dart libraries for accessing Tatum APIs.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

device_info_plus, dio, equatable, flutter, get_it, injectable, json_annotation, package_info_plus, pretty_dio_logger, retrofit

More

Packages that depend on tatum