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

@eulerbeats/eulerbeats-cli

v0.0.7

Published

A command-line tool to query the EulerBeats smart contract system

Downloads

8

Readme

eulerbeats-cli

npm package

EulerBeats CLI is a command-line tool to query the Eulerbeats smart contract system.

This tool uses the Ethereum mainnet as its data source. We try to include at least one public json rpc url as part of the cli, so everything might just work for you, but if it doesn't...

We recommend getting a free account from Infura or Alchemy to get a reliable provider if you don't already have one. See the Ethereum Nodes site for an up-to-date list of nodes that are available.

Some commands allow you to get the state of the blockchain at a certain point in time (for example, all print holders at a specific block number). These may require what is called an archive node, so you'll need to ensure the node you are using has this capability. Alchemy includes this in their free plan.

Join the #dev channel on our Discord server for updates, tips & tricks and more.

Quickstart

Globally

$ npm install -g @eulerbeats/eulerbeats-cli

$ eb-cli

Locally

$ npm install @eulerbeats/eulerbeats-cli

$ npx eb-cli

JSON RPC Configuration

Internally the program does one of the following:

  1. Look for a URL passed via --rpc.
  2. Look at the environment variable PROVIDER_URL (you can use a .env file in the root of this project, which is git-ignored).
  3. Fallback to a hardcoded, unreliable, public provider url.

Development

We would love to have your helping hand on eulerbeats-cli! Please see CONTRIBUTING.md for more information on what we're looking for and how to get started.