New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

superboost-button

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

superboost-button

Simple react component for buying boostpow for your app's content

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

boostpow-button

Simple react component for buying boostpow for your app's content

npm install --save boostpow-button

Usage

import SuperBoostButton from 'boostpow-button'

export default function() {

  return (

   <div>

      <h1>Boost My Cat Gif<h1>

      <SuperBoostButton
        content={content_txid}
        value={0.05}
        onSuccess={onBoostSuccess}
        onError={onBoostError}
        onClick={onClick}
      />

    </div>
  )

}

function onSuccess(result) {
  alert('boostpow success!')
}

async function onClick(whenDone: Promise) {
  const boostpowJobResult = await whenDone

  // onClick provides a Promise object that resolves once the job transaction
  // has been successfully posted to the bitcoin network
}

Keywords

boostpow

FAQs

Package last updated on 30 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts