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

@y0unghe/core-sdk

v0.1.18

Published

## core-sdk

Downloads

234

Readme

Publish NPM packages

core-sdk

  1. INIT_CODE_HASH src/constants/legacy.ts. 否则在生成LP Pair地址的地方会出错,My Positions里会是空的,不会显示已经创建的pair

  2. SUSHI_ADDRESS, FACTORY_ADDRESS, ROUTER_ADDRESS, MASTERCHEF_ADDRESS, USD_ADDRESS src/constants/addresses.ts

Package naming convention: @yourUsername/pkgName

The first time publish a package:

npm login
npm publish --access public

Publish updated packages:

yarn // if failed use npm
yarn build // if failed use npm run build
npm update @y0unghe/core-sdk
npm publish
npm run build && npm update @y0unghe/core-sdk && npm publish

Error: Cannot find module 'src/entities/Native/Shibarium'

如果在entities/Native目录下新建了Native Token。那么要在src/constants/natives.ts里导入

`import {Shibarium} from '../entities/Native'``

如果提示找不到Native/Zeta,那么需要在src/entities/Native/index.ts里面导入export { Zeta } from './Zeta'

src/constants/native.ts下面如果有类似import { Shardeum } from 'src/entities/Native/Shardeum' 那么需要删除掉,这样interface那边会报错: Error: Cannot find module 'src/entities/Native/Shardeum'

正确的做法是,update import {Shibarium} from '../entities/Native' 添加在这里面