Coder Social home page Coder Social logo

joequant / tribute-contracts-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openlawteam/tribute-contracts-cli

0.0 1.0 0.0 5.49 MB

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

Home Page: https://tributedao.com

License: MIT License

JavaScript 100.00%

tribute-contracts-cli's Introduction

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

##
# The mnemonic to open your wallet and sign transactions
MNEMONIC=...

##
# 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

CLI Snapshot-JS Contracts Snapshot Hub
v0.1.1 v1.2.0 v1.0.0 v5.0.0-erc712
v0.1.2 v1.2.0 v1.0.2 v5.0.1-erc712
v0.2.1 v1.3.0 v2.0.4 v5.0.2-erc712
v0.2.2 v1.3.0 v2.2.1 v5.0.2-erc712

Packages

tribute-contracts-cli's People

Contributors

fforbeck avatar

Watchers

 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.