Skip to content

codeaudit/fundraiser-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cosmos Fundraiser CLI

WARNING!

THE FUNDRAISER DOES NOT BEGIN UNTIL APRIL 6, 6AM PDT! ALL BITCOIN AND ETHER SENT PRIOR TO APRIL 6, 6AM PDT WILL BE LOST!

Install

You need a recent version of NodeJS. We recommend version 6.10.1 or 7.8.0. Once you have nodejs and npm installed, run the following command to install the cosmos-fundraiser tool.

npm install -g cosmos-fundraiser-cli@2.11.0

Cosmos Address

To compute your Cosmos address from your twelve word mnemonic, run

cosmos-fundraiser cosmosaddress

Run

Two modes: online and offline.

Online

Just run

cosmos-fundraiser

and it will take you through an interactive contribution process.

Offline

For those who looking for greater security, the contribution flow can be split into segments, some of which are done on an offline computer.

# write down or encrypt the wallet phrase
cosmos-fundraiser genwallet

BTC

To donate BTC, get the intermediate address and send the amount of funds you'd like to contribute:

# do this on your offline computer
cosmos-fundraiser btcaddress

Once you've sent BTC to the intermediate address, build the donation transaction on an online machine:

cosmos-fundraiser buildtx <address>

Now on the offline machine, sign your donation transaction:

cosmos-fundraiser signtx <donationTx>

Finally, on the online machine:

cosmos-fundraiser broadcasttx <signedTx>

ETH

For ETH, on the offline machine, run

cosmos-fundraiser ethtx

Send the resulting transaction from anywhere that lets you send data.

About

CLI tool for participating in Cosmos Fundraiser

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 81.8%
  • Go 11.1%
  • Makefile 7.1%