Skip to content

Conversation

daog1
Copy link

@daog1 daog1 commented Jul 22, 2025

Modified project dependencies to use anchorpy-idl and updated anchorpy-idl to support conversion from older Anchor IDL versions to newer ones. All tests in the project have passed.

@Rjohn666
Copy link

牛逼

@HealthyBuilder
Copy link

niu bi! Let's fucking go!

@nolimitech
Copy link

Pretty nice.
Maybe we should include a IDL converter. I still wonder, why there is no converter already...
Such as fetching from solscan.io or explorer.solana.com based on pubkey.

  1. Newer to Older (more easy to downsample).
    • signer => isSigner,
    • writable => isMut
    • etc..
  2. Older to newer (will miss some informations, such as metadata, etc..).

@daog1
Copy link
Author

daog1 commented Aug 7, 2025

Pretty nice.  相当不错。 Maybe we should include a IDL converter. I still wonder, why there is no converter already...也许我们应该包括一个 IDL 转换器。我仍然想知道,为什么还没有转换器...... Such as fetching from solscan.io or explorer.solana.com based on pubkey.例如从基于 pubkey 的 solscan.io 或 explorer.solana.com 获取。

  1. Newer to Older (more easy to downsample).
    从新到旧(更容易缩减采样)。
    • signer => isSigner,  签名者 => isSigner,
    • writable => isMut  可写 => isMut
    • etc..  等。。
  2. Older to newer (will miss some informations, such as metadata, etc..).从旧到新(会遗漏一些信息,例如元数据等)。

Sure, I added an automatic conversion feature in this PR: kevinheavey/anchorpy-idl#2

@ZHUZIOK
Copy link

ZHUZIOK commented Sep 6, 2025

That's amazing! I really hope AnchorPy supports 0.31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants