Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.
/ fundraiser-cli Public archive

CLI tool for participating in Cosmos Fundraiser

License

Notifications You must be signed in to change notification settings

cosmos/fundraiser-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is archived as of June 29, 2020 but made available for historical record.

Cosmos Fundraiser CLI

NOTE: This is the fundraiser project website. To generate your Cosmos address from your fundraiser 12-word secret follow the instructions for the Cosmos Fundraiser Tool. DO NOT SHARE YOUR 12-WORD SECRET OR THE PRIVATE KEY.

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.