New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tribute-contracts-cli

Package Overview
Dependencies
Maintainers
5
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tribute-contracts-cli

A command line interface tool to interact with @tributelabs/tribute-contracts

  • 0.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
Maintainers
5
Weekly downloads
 
Created
Source

Tribute Contract CLI

Setup

In the root folder of the project, create the .env file, and set the env vars:

##
# The DAO Address to interact with
DAO_ADDRESS=0x...

##
# Infura API KEY or Alchemy API KEY. Pick one.
INFURA_KEY=
ALCHEMY_KEY=

##
# 12 word seed phrase from your wallet or the account private key
MNEMONIC_OR_PRIVATE_KEY=...

##
# The snapshot-hub URL to connect
SNAPSHOT_HUB_API_URL=http://...

##
# The space name defined in the Snapshot Hub API
SNAPSHOT_HUB_SPACE=...

##
# Enable DEBUG to see the logs of the CLI interactions with SnapshotHub and DAO
DEBUG=false

## 
# The API that you are using to connect to Ethereum Blockchain
# 
# ALCHEMY Mainnet: https://eth-mainnet.alchemyapi.io/v2/[YOUR_ALCHEMY_API_KEY]
# ALCHEMY Rinkeby: https://eth-rinkeby.alchemyapi.io/v2/[YOUR_ALCHEMY_API_KEY]
#
# INFURA Mainnet: https://mainnet.infura.io/v3/[YOUR_INFURA_API_KEY]
# INFURA Rinkeby: https://rinkeby.infura.io/v3/[YOUR_INFURA_API_KEY]
ETHEREUM_BLOCKCHAIN_API=...

## 
# The Ethereum Network which CLI should interact with: ganache, rinkeby, mainnet
ETHEREUM_NETWORK=..

Build

npm run build

Run

npm link trib --help

Version Compatibility

CLISnapshot-JSContractsSnapshot Hub
v0.1.1v1.2.0v1.0.0v5.0.0-erc712
v0.1.2v1.2.0v1.0.2v5.0.1-erc712
v0.2.1v1.3.0v2.0.4v5.0.2-erc712
v0.2.2v1.3.0v2.2.1v5.0.2-erc712
v0.2.3v1.3.0v2.3.3v5.0.2-erc712

Packages

FAQs

Package last updated on 13 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc