Giter VIP home page Giter VIP logo

factom-cli's Introduction

Factom Command Line Interface

CircleCI

factom-cli provides a convenient CLI interface for making and viewing entries and transactions on the Factom blockchain by calling out to both factomd and factom-walletd.

Dependencies

Build Dependencies

  • Go 1.13 or higher

External Dependencies

  • Access to a factomd API endpoint
  • Access to a factom-walletd API endpoint

Optional Dependencies

Package distribution

Binaries for your platform can be downloaded from the GitHub release page.

Build and install

make install

To cross compile to all supported platforms:

make all

factom-cli's People

Contributors

adamslevy avatar carryforward avatar danielricaud avatar dieswaytoofast avatar eleven711 avatar emyrk avatar factom-clay avatar gornik avatar hannemennah avatar inou avatar jackxlu avatar jcomellas avatar joshuabrigati avatar m21 avatar maxdrift avatar michaelbeam avatar mwanon avatar n1rvana avatar paulbernier avatar paulsnow avatar sambarnes avatar sirhalsell avatar thepiachu avatar veenagondkar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

factom-cli's Issues

Errorln is used incorrectly with format

errorln is a wrapper around fmt.Fprintln, but fmt.Fprintln is not formatting %x (by design)

so we have messages like

Entry of %d bytes is too large 161360
./factom-cli/addchain.go: errorln("Entry of %d bytes is too large", size)
./factom-cli/addchain.go: errorln("Entry of %d bytes is too large", size)
./factom-cli/addentry.go: errorln("Entry of %d bytes is too large", size)
./factom-cli/addentry.go: errorln("Entry of %d bytes is too large", size)

factom-cli doesn't accept wallet addresses for transaction outputs

You can add inputs by wallet address:

$ factom-cli newtransaction fund
Success building a transaction
$ factom-cli addinput fund 01-Fountain 7500
Success adding Input

Adding outputs by wallet address doesn't work though:

$ factom-cli addoutput fund FA39GYnRRVeSP48bqxHPzZoKhReD5p3xTKTunTLW3QtrRESY7nyd 2500
Key is too long.  Keys must be less than 32 characters
$ factom-cli addecoutput fund EC3QGgJ292i4AHnzQejPssxWVAFzbZrU4hgkdTPVjSbYn7MbayEe 2500
Key is too long.  Keys must be less than 32 characters

Thanks,

--Tom

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.