Git Product home page Git Product logo

fileindachain's Introduction

FileInDaChain

A CLI tool to upload any data shorter than 90 kB to the blockchain.

Uses Omni's Class B transactions (can you spot the difference?) and OP_RETURNs, depending on feasibility.

Usage: FileInDaChain [flags] <upload / download> [cmd args]

Upload arguments:
  <file path (drag N drop)> [where to save the transaction]

Download arguments:
  <TXID OR raw transaction OR raw tx loc> [where to save (folder drag N drop + filename. /path/to/desk/abc.txt)]

Flags:
  -broadcast int
    	broadcast the transaction? 0=ask, 1=print, 2=broadcast
  -feeperkb float
    	fee per kB, in BCH (default 1e-05)
  -host string
    	(optional) host[:port] of Bitcoin Cash wallet RPC server (default "localhost")
  -ignorechecksum
    	should ignore the warning and continue if the checksum doesn't match?
  -legacymode
    	compatible to shirrif's tools, or the new format?
  -multisig.m int
    	"M" of M-of-N multisig outputs [-1<m<(n+1)] (default 1)
  -multisig.n int
    	"N" of M-of-N multisig outputs, don't change to save money! [0<n<21] (default 3)
  -notxindex
    	use a block explorer to download others' files without txindex
  -outputvalue float
    	output value, don't change to save money! (default 5.47e-06)
  -overwrite
    	should overwrite while downloading a file, if needed? (default true)
  -rpcpass string
    	password for wallet RPC authentication
  -rpcuser string
    	username for wallet RPC authentication (default "bitcoinrpc")
  -testnet
    	Testnetto?
  -walletpassphrase string
    	walletpassphrase, if the wallet is locked

By using this software, you agree to not to upload/download anything illegal in any region!

Use it at your own risk!

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Sample (JPG, testnet): cd600cbbb73426b906a58818bc2f30fb396d048809915f7149c23db03859562b

fileindachain's People

Contributors

deswurstes avatar

Stargazers

 avatar

Watchers

 avatar  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.