1.1.7 • Published 12 months ago

@bgeo/sdk v1.1.7

Weekly downloads
-
License
MIT
Repository
-
Last release
12 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

12 months ago

1.1.6

12 months ago

1.1.5

12 months ago

1.1.4

12 months ago

1.1.2

1 year ago

1.1.1

1 year ago

1.0.0

1 year ago