1.1.7 • Published 11 months ago

@bgeo/sdk v1.1.7

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

BGEO SDK

This is the official JavaScript/TypeScript SDK for the BGEO blockchain.

Installation

npm install @bgeo/sdk

Features

  • Create Wallet, Send Transaction, Get Transaction, Get Balance, Get UTXO

Usage Example

import { BgeoSDK } from '@bgeo/sdk';

// Initialize SDK
const sdk = new BgeoSDK({
  apiKey: 'YOUR_API_KEY'
});

// Create new wallet
const wallet = sdk.generateWallet();
console.log('New wallet:', wallet);

// Send transaction
const txHash = await sdk.sendTransaction(
  'fromAddress',
  'toAddress',
  '1.0', // amount
  'privateKey'
);
console.log('Transaction sent:', txHash);

API Documentation

Detailed API documentation is available here.

License

MIT License

1.1.7

11 months ago

1.1.6

11 months ago

1.1.5

11 months ago

1.1.4

11 months ago

1.1.2

12 months ago

1.1.1

12 months ago

1.0.0

12 months ago