npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@bgd-labs/aave-cli

v1.1.2

Published

A cli to perform various aave governance related tasks

Downloads

6,759

Readme

BGD Labs <> Aave CLI

About

aave-cli is a command line tool providing commands to automate certain tasks when interacting with the aave protocol. For a full overview of features you can run aave-cli --help

Installation

Make sure to setup your .env as most utilities rely on tenderly and will fail otherwise.

TENDERLY_ACCESS_TOKEN=
TENDERLY_PROJECT_SLUG=
TENDERLY_ACCOUNT=

Local installation

npm i @bgd-labs/aave-cli

Global installation

npm i -g @bgd-labs/aave-cli

Once installed you should be able to run commands via the @bgd-labs/aave-cli or the aave-cli binary.

Alteratively you can use npx @bgd-labs/aave-cli to run the cli via npx.

Fork

aave-cli fork --chainId <id> can ge used to generate tenderly forks. The cli allows executing certain proposal/actionset IDs, an address or even local payload via aave governance. For a full overview of commands please run aave-cli fork --help

Ipfs

aave-cli ipfs <source> can be used to generate the bs58 hash of a single file.

Diff-Snapshots

aave-cli diff <from> <to> can be used to diff two config snapshots & generate a human readable report.

Governance

Simulation

aave-cli governance simulate [proposalId] can be used to simulate a certain proposal on tenderly (e2e across all networks). This feature is intended to be used by systems like seatbelt.

View

aave-cli governance view will start a command line ui for the aave governance. The command line ui, explains how to vote and generates the proofs needed for voting or registering roots.

GetStorageRoots

aave-cli governance getStorageRoots --proposalId <id> is a utilitiy that generates the storage roots for the data warehouse.

GetVotingProofs

aave-cli governance getVotingProofs --proposalId <id> --voter <voter> generates the voting proofs for a specific address.