vite 0.1.1 icon indicating copy to clipboard operation
vite: ^0.1.1 copied to clipboard

A dart library for the Vite blockchain. Send transactions and interact with smart contracts!

vite_dart #

A dart library for Vite blockchain.

Features #

  • Support for Vite RPC v2 APIs - RPC v2 API
  • Vite Wallet Key Derivation - VEP3
  • Transaction signing
  • Contract ABI parsing

Example #

import 'package:vite/vite.dart';

void main() async {
  final client = RpcClient.http('');

  final hash = await client.getLatestSnapshotHash();
  final snapshot = await client.getSnapshotBlockByHash(hash);

  await client.close();

Feature requests and bugs #

Please file feature requests and bugs at the issue tracker. If you want to contribute to this library, please submit a Pull Request.