@bgeo/sdk
v1.1.7
Published
Official SDK for BGEO blockchain
Downloads
489
Maintainers
Readme
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