seekerpay_chat 1.1.1 copy "seekerpay_chat: ^1.1.1" to clipboard
seekerpay_chat: ^1.1.1 copied to clipboard

PlatformAndroid

End-to-end encrypted, on-chain (Arweave/Irys) chat for SeekerPay .skr identities.

seekerpay_chat #

License: MIT

End-to-end encrypted, on-chain (Arweave/Irys) chat for SeekerPay .skr identities.


Features #

  • End-to-End Encryption — Uses cryptography for secure message encryption/decryption using Ed25519 keys derived from the user's Solana wallet.
  • On-Chain Storage — Messages are stored on Arweave via the Irys Network, ensuring data permanence and censorship resistance.
  • Identity-Based — Chat with any .skr domain or Solana address.
  • Offline Outbox — Messages are queued locally and synchronized with Arweave when online.
  • Local Cache — SQLite-based local storage for fast message retrieval and conversation history.

Installation #

dependencies:
  seekerpay_chat: ^1.1.0

Usage #

Initialize Chat Service #

final chatService = ref.watch(chatServiceProvider);

// Load conversations
final conversations = ref.watch(conversationsProvider);

Send a Message #

await ref.read(chatServiceProvider).sendMessage(
  recipientAddress: 'CvH5vB...',
  text: 'Hello, Seeker!',
);

Listen for Messages #

final messages = ref.watch(messagesProvider('CvH5vB...'));

messages.when(
  data: (list) => ListView.builder(
    itemCount: list.length,
    itemBuilder: (context, i) => Text(list[i].text),
  ),
  loading: () => const CircularProgressIndicator(),
  error: (e, _) => Text('Error: $e'),
);

License #

MIT — see LICENSE.

0
likes
130
points
15
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

End-to-end encrypted, on-chain (Arweave/Irys) chat for SeekerPay .skr identities.

Repository (GitHub)
View/report issues

Topics

#solana #chat #blockchain #arweave #web3

License

MIT (license)

Dependencies

convert, crypto, cryptography, flutter, flutter_riverpod, http, path, seekerpay_core, seekerpay_domains, seekerpay_qr, shared_preferences, sqflite, uuid

More

Packages that depend on seekerpay_chat