-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add Solana contract call example #1263
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
||
# Call Solana Memo Contract | ||
|
||
Memo Program 是 Solana 上的一个示例程序,它是一个简单的合约,用于在交易中添加备注信息。在这个示例中,我们将演示如何使用 Ant Design Web3 连接 Solana 网络,并调用 Memo 合约。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这边应该是英文吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
对,暂时还没写完
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1263 +/- ##
=======================================
Coverage 99.99% 99.99%
=======================================
Files 858 858
Lines 14726 14726
Branches 1589 1589
=======================================
Hits 14725 14725
Misses 1 1 ☔ View full report in Codecov by Sentry. |
da97feb
to
589e302
Compare
65df35e
to
63c1b4d
Compare
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected] |
有冲突了 |
@@ -15,7 +15,7 @@ export default defineConfig({ | |||
exportType: 'default', | |||
}, | |||
include: ['**/*.svg'], | |||
}), | |||
}) as any, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个是解决什么问题加的any
是这个不
如果是这个的话,我可能已经修复了这个问题。 as UserConfig["plugins"] 更合适,然后 UserConfig 被废弃了,替代为了现在的 ViteUserConfig
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是这个问题,我看下。
|
||
# Interact with Solana Contract | ||
|
||
> TODO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以 chatgpt 翻译一版
💡 Background and solution
添加 Solana 发起交易并调用 Memo 合约的示例
🔗 Related issue link