GithubHelp home page GithubHelp logo

hs-anyone's Introduction

hs-anyone

A nodejs package to pay the fee for an "anyone can" transaction

Installation

The only requirements are hsd and hs-client. These are peer dependencies, it is assumed that the user already has them installed locally (you need a running node and wallet to use this package).

Usage

Usage: $ hs-anyone [command] [name] [options]

Commands:
  renew         RENEW an anyone-can-renew name
  finalize      FINALIZE a filled Shakedex (HIP-1) auction TRANSFER
                (requires local hsd Full Node with --index-tx=true)

Options:
  --wallet      wallet ID (default: primary)
  --apikey      node / wallet API key (default: none)
  --passphrase  wallet passphrase (default: none)
  --network     (default: regtest)
  --rate        fee rate in dollarydoos per kB (default: network default)
  --broadcast   whether to broadcast the signed transaction (default: false)

Examples

ANYONE-CAN-RENEW: Names like badass and forever can be renewed by anyone willing to pay the miner fee

ANYONE-CAN-FINALIZE: (coming soon) Shakedex auction winners don't have to finalize their own filled bids, and this feature may be useful for stuck wallets.

$ bin/hs-anyone renew forever --network main --broadcast true

Program output will be the signed transaction in JSON with CoinView (to display fee).

Renewal of the name forever using this program generated txid

5634f5f212231b35aca7b645e61368b30fb50786fb9e618dd3891b76c0f57b8a

...confirmed in mainnet block #101,175.

hs-anyone's People

Contributors

pinheadmz avatar

Stargazers

AarbozT avatar Prateek Anand avatar Dwebo avatar Sirawit Thaya avatar  avatar Mykyta Rykov avatar DIPMR avatar  avatar tiMaxal avatar ZCHAIN avatar netop://ウエハ avatar Terrance Robotham avatar Mike Carson avatar Tim Kersey avatar Brandon Dees avatar Javed Khan avatar

Watchers

Mike Carson avatar James Cloos avatar  avatar  avatar DIPMR avatar Dwebo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.