Skip to content

gitviction/sbjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

StandardBountiesJS

JS lib to create bounties on gitcoin.co and/or bounties.network

Installing

npm i gitviction/sbjs

Usage

const sbjs = require("sbjs");
const gitcoin = new sbjs({
  ipfsprovider: {
    host: "localhost",
    port: 5001,
    protocol: "http"
  },
  web3provider: new HttpProvider("http://localhost:8545")
});

gitcoin.issueAndActivateBounty(
        metaData,
        deadline,
        fulfillmentAmount,
        arbiter,
        paysTokens, // true/false
        tokenContract,
        value
      )
      .then(txhash => {
        // here's the txhash
      });

About

StandardBounty JS - library to interface with the StandardBounties contract

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published