3.8.1 • Published 1 year ago

@qfi/ethtaiwancli v3.8.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Commands

  • ethtaiwancli: CLI entry point.
  • ethtaiwancli auth \"<mnemonic>\": Allow to interact with the blockchain-related commands (e.g., deploy) with a wallet by passing in wallet's mnemonic.
    • <mnemonic>: the secret mnemonic phrase (e.g., 12 words) separated by spaces (e.g., "test test test test test test test test test test test junk"). nb. the double quotes are mandatory!
  • ethtaiwancli genkeys <amount>: Generate a new specified amount of MACI and ETH keypairs (QR Codes inclueded).
    • <amount>: amount of MACI and ETH keypairs to be generated (e.g., 3000)
  • ethtaiwancli contracts:deploy <network>: Deploy the smart contracts infrastructure necessary for running a new QFI/MACI instance for a specified network.
    • <network>: the network where the contracts will be deployed (e.g., MATIC)
  • ethtaiwancli contracts:add-recipients <network> <path>: Add recipients on RecipientRegistry Smart Contract deployed on the network by taking data from CSV input file specified in the path.
    • <network>: the network where the contracts has been deployed (e.g., MATIC)
    • <path>: the path of the CSV input file where the recipients data is stored (e.g., ~/Desktop/myrecipients_data.csv`). _nb. The CSV file must contain rows organized as follows: * name * tagline * description * problemSpace * ethereumAddress * contactEmail * teamName (optional) * teamDescription (optional) * githubUrl (optional) * radicleUrl (optional) * websiteUrl (optional) * twitterUr (optional) * discordUrl (optional) * bannerImageHash * thumbnailImageHash

Examples

  • ethtaiwancli auth "test test test test test test test test test test test junk"
  • ethtaiwancli genkeys 3000
  • ethtaiwancli contracts:deploy MATIC
  • ethtaiwancli contracts:add-recipients MATIC ~/Desktop/my_recipients_data.csv

Getting Started

Prerequisities

You need to have the following installed:

git >= 2.25.1 node >= 16.14.0 npm >= 8.9.0 yarn >= 1.22.18

Local Development

https://github.com/quadratic-funding/qfi.git
cd qfi
git checkout cohort/ethtaiwan
yarn
yarn build
cd packages/cli
npm i -g
# You are ready to run the commands as above :)
3.8.0

1 year ago

3.7.1

1 year ago

3.6.1

1 year ago

3.6.0

1 year ago

3.8.3

1 year ago

3.5.6

2 years ago

3.8.2

1 year ago

3.8.1

1 year ago

3.5.4

2 years ago

3.5.3

2 years ago

3.5.1

2 years ago

3.4.2

2 years ago

3.4.5

2 years ago

2.4.0

2 years ago