Skip to content

BitcoinSchema/js-bso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bso

Bitcoin Social transaction creation library

bun add @bitcoinschema/bso-lib
import { createMessage, createPost, createVideo } from "bso";

createMessage

// Creates a new message transaction in channel #test
// and returns a `bsv-wasm` transaction
const message = createMessage("Hello World", "test");

createPost

// Creates a post with a url context
const post = createPost("Hello World", {
  context: "url",
  contextValue: "https://google.com",
});

Releases

No releases published

Packages

No packages published