Skip to content

openblaze/OpenBlaze.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenBlaze.js

Notice

This library isnt fully complete, and will include breaking changes often

Overview

OpenBlaze.js is a is a high level library that allows you to interact with OpenBlaze an appchain framework.

Getting Started

const OpenBlaze = require('openblaze'); // Place holder name
const config = require('./config.json');

(async () => {
  // Turn your private key string into a keypair
  let Vkey = OpenBlaze.PrivToKeypair(config.privkey);

  const client = new OpenBlaze.Client({
    node: config.node,
    Keypair: Vkey,
  });

  let res = await client.broadcast({
    transactionType: 'transfer',
    Data: {
      denom: 'ublaze',
      reciever: 'burn',
      amount: '1000', // exponent being 6
    },
  });

  console.log(res);
})();

Installing

To:Do

Documentation

OpenBlaze.js currently has no documentation, other than examples

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published