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

dexter-deploy

v0.0.1

Published

deploy dexter to persistence

Downloads

1

Readme

dexter-deploy

This CLI is useful for deploying Dexter smart-contracts and interacting with them

Subcommands

code-store

This subcommand can be used to to store code on chain using 2 workflows:

  1. Direct (recommended now): Directly stores code to chain with relevant configuration as mentioned in the arguments.
  2. Via proposals (older): Creates proposals for storing code with the relevant configuration as mentioned in arguments. The workflow is:
    1. Store code using proposals using dexter-deploy code-store create-proposals subcommand
    2. Vote on code store proposals (using command) or externally. Command is: dexter-deploy code-store vote-on-proposals
    3. Once proposals are passed, store code-ids in the deployment state output file using dexter-deploy code-store find-code-ids subcommand.

vault

This subcommand is meant for all vault related operations. Currently the operations are:

  1. Instantiate: This can be done in 2 ways. Via proposals or directly. Currently we are recommend direct instantiation but requirement can differ based on permissioned setting. The worflows are:

    1. Direct: Instantiate using dexter-deploy vault instantiate subcommand.
    2. Via proposals: Follow following steps:
      1. Create instantiation proposal using: dexter-deploy vault create-instantiation-proposal
      2. Vote on proposal using dexter-deploy vault vote-on-instantiation-proposal in controlled environmments else get voting done externally.
      3. Find and store address in deployment state using dexter-deploy vault find-address
  2. Create Pool: This subcommand creates a pool with specified configuration. Use it like dexter-deploy vault create-pool

  3. Join Pool: This can be used to add liquidity to a pool. Command: dexter-deploy vault join-pool

config-update

This subcommand is used to update instantiation config of address to allow them to be instantiated by Vault. This is particularly meant for Pool and LP Token contract.

2 subcommands are:

  1. create-instantiation-config-proposal: Create a proposal to update the instantiation config of a set of contracts.

  2. vote-on-instantiation-config-proposal: Votes on proposal by the specified addresses in the configuration. Meant for localnet and devnet only.

keeper

Allows instantiation of keeper contract by direct method.

Subcommands: dexter-deploy keeper instantiate

multi-staking

Allows instantiation of multi-staking contract by direct method.

Subcommands: dexter-deploy multi-staking instantiate

TODO: Add examples of all above sucommands