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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@0xsend/send-earn-contracts

v0.1.0

Published

The contracts and artifacts for Send Earn.

Readme

Send Earn

Send Earn is a permissionless, non-custodial way for users to deposit their USDC into a vault and earn yield on their USDC. Send Earn is a vault-on-a-vault solution powered by Morpho and Moonwell. Users deposit their USDC into a Send Earn USDC (seUSDC) vault. In turn, the vault deposits the vault's assets into a Moonwell USDC (mwUSDC) vault. Users can also withdraw their USDC from the vault at any time.

Send Earn's pioneering approach is to reward users for referring others to use Send Earn.

See docs/send-earn-about.md for more information.

Quick Start

git clone https://github.com/0xsend/send-earn-contracts.git
cd send-earn-contracts
forge install
bun install --yarn
bun run build

Deploy

Jump to Localnet Deployment if needing to deploy to a local network for testing.

export OWNER=0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
export VAULT=0xc1256Ae5FF1cf2719D4937adb3bbCCab2E00A2Ca
export PLATFORM=0x65049C4B8e970F5bcCDAE8E141AA06346833CeC4
export FEE=$(cast to-wei 0.08 ether)
export SPLIT=$(cast to-wei 0.80 ether)
export SALT=$(echo SEND IT | cast keccak)
export ASSET=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
export INITIAL_BURN=10000
export INITIAL_BURN_PREFUND=5000000
forge script ./script/DeploySendEarn.s.sol:DeploySendEarnScript \
  -vvvv \
  --rpc-url http://localhost:8546 \
  --sender 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 \
  --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 \
  --broadcast

Localnet Deployment

Need to transfer some USDC to the owner account so we can set initial burn amount.

export OWNER=0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
export USDC_HOLDER=0x27a16dc786820B16E5c9028b75B99F6f604b5d26
export ASSET=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
cast rpc anvil_impersonateAccount $USDC_HOLDER --rpc-url http://localhost:8546
cast send $ASSET \
  --from $USDC_HOLDER \
  --rpc-url http://localhost:8546 \
  "transfer(address,uint256)(bool)" \
  $OWNER \
  10000000 \
  --unlocked
# blockHash               0xbf31c45f6935a0714bb4f709b5e3850ab0cc2f8bffe895fefb653d154e0aa062
# blockNumber             15052891
# ...

Contributing

Lint the code:

bun run lint:fix

Ensure your tests are passing before submitting a PR.

bun run test

Update the snapshots and test coverage:

bun run test:update

Make a release:

bunx changeset

Create a new version of the package:

bunx changeset version

Commit and push the changes:

git add .
git commit -m "chore: Version bump"
git push

Create a new release on GitHub and npm. The release will be automatically published to npm.