Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

anchor-idl-converter

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anchor-idl-converter

Converter for Anchor IDL, convert your IDL from anchor new version to old version

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
0
Weekly downloads
 
Created
Source

anchor-idl-converter

Converter for Anchor IDL, convert your IDL from anchor new version to old version.

This is a simple tool i made to convert new Anchor IDL (anchor v0.30.0+) to old Anchor IDL (anchor v0.29.0-). Im using this tool because some another tools like SolanaFM Local IDL until now still not support the new Anchor IDL.

[!WARNING]
This tools is only hacky solution, and may not work for all cases.

How to use

# use with bun
bunx anchor-idl-converter@latest to-old -i contract-idl.json -o converted-idl.json
# or with npm
npx anchor-idl-converter@latest to-old -i contract-idl.json -o converted-idl.json
# or install it globally
npm install -g anchor-idl-converter
anchor-idl-converter to-old -i contract-idl.json -o converted-idl.json

Keywords

FAQs

Package last updated on 06 Sep 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc