Socket
Socket
Sign inDemoInstall

elf-contracts-typechain

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    elf-contracts-typechain

Typechain codegen for generating Typescript classes and types for elf-contracts


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

elf-contracts-typechain

Typechain codegen for generating Typescript classes and types for elf-contracts

Install

Run

npm i --save-dev @elementfi/elf-contracts-typechain

Development

Run

npm ci

This will run the build process constructing dist/ in the postinstall phase

Make changes or add new contracts in the src/localContracts directory then run the build command:

npm run build

This will produce new files in dist/ that can be checked in.

Here, take this!

Since this repo is not an npm package, it can be helpful to include this simple script to upgrade your project to the latest commit:

  "scripts": {
    "update-elf-contracts-typechain": "npm install git+https://github.com/element-fi/elf-contracts-typechain.git"
  },

Publishing elf-contracts-typechain

To release and publish the new token list:

First create a new version commit using npm:

npm version major|minor|patch # this will create a git commit

Then push up the changes to Github:

git push
git push --tags

Then in GH:

  1. Go to tags
  2. Click the ellipses to the far right of the new tag and click "Create release"
  3. On the new release, click "Auto-generate release notes" (edit the description if needed)
  4. Click "Publish release"
  5. Check the Actions tab to monitor the build and publish progress.

FAQs

Last updated on 28 Jan 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc