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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@redstone-finance/move-connector

v0.9.0

Published

## Prelude

Downloads

8

Readme

move-connector

Prelude

Dedicated URL for testnet needs this custom URL: "https://aptos.testnet.bardock.movementlabs.xyz/v1" Custom URL is preferred over testnet default as testnet isn't available yet. Use custom network type and provide above custom URL for tests with testnet.

Deploying and testing

Install aptos cli - Compile the version 3.5.0 of movement CLI or use make install-cli. Setup localnet

Ensure you have the move account config in move/.movement/config.yaml. If not, please initiate configuration with movement init --skip-faucet in move directory.

Run deploy:

  • PACKAGE_ADDRESS env variable must be in a hex format and indicates on chain package address. It is optional parameter, if not specified then .movement/config.yaml account address is used. For example: 0x744ea1316e136548403df153b72ac5df49621907a882b5dddf886b1b51b8eef2 is a valid package address.
  • PRIVATE_KEY is a private key of secp256k1 type and must be provided in hex format. It is optional parameter, if not specified then .movement/config.yaml private key is used.

All hex strings can start with leading 0x or without.

NETWORK=localnet yarn deploy

Tests

To test MovementPricesContractAdapter i MovementPricesContractConnector follow the steps below.

  • Start the node locally.

    movement node run-localnet --force-restart --assume-yes
  • Prepare node for test deploying all the required contracts. You have to do it only once until your node is running.

    yarn prepare-test-env
  • Run the test.

    yarn test

Multisig

We use multisig flow implemented in the multisig.

  1. Create multisig on chain.
  2. Propose transaction on the chain.
  3. Participants of the multisig vote on the proposed transaction.
  4. If threshold is met, anyone can execute the transaction on the chain.

See MultiSigTxBuilder.ts for implementation in the typescript of the multisig transactions.

Deployments

We adopted the object-code-deployment model, see object-code-deployment and deploy-script.