Skip to content
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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

gin-lsl
Copy link
Collaborator

@gin-lsl gin-lsl commented Nov 27, 2024

💡 Background and solution

添加 Solana 发起交易并调用 Memo 合约的示例

🔗 Related issue link

Copy link

changeset-bot bot commented Nov 27, 2024

⚠️ No Changeset found

Latest commit: 6613b67

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Nov 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ant-design-web3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 5, 2024 0:11am

Copy link

github-actions bot commented Nov 27, 2024

Preview is ready


# Call Solana Memo Contract

Memo Program 是 Solana 上的一个示例程序,它是一个简单的合约,用于在交易中添加备注信息。在这个示例中,我们将演示如何使用 Ant Design Web3 连接 Solana 网络,并调用 Memo 合约。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这边应该是英文吧

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

对,暂时还没写完

Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.99%. Comparing base (020b483) to head (6613b67).

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.
📢 Have feedback on the report? Share it here.

@gin-lsl gin-lsl changed the title docs: add Solana Memo contract call example docs: add Solana contract call example Nov 28, 2024
Copy link

socket-security bot commented Dec 5, 2024

@yutingzhao1991
Copy link
Collaborator

有冲突了

@@ -15,7 +15,7 @@ export default defineConfig({
exportType: 'default',
},
include: ['**/*.svg'],
}),
}) as any,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个是解决什么问题加的any

是这个不

image

如果是这个的话,我可能已经修复了这个问题。 as UserConfig["plugins"] 更合适,然后 UserConfig 被废弃了,替代为了现在的 ViteUserConfig

vitest-dev/vitest#4048

image

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是这个问题,我看下。

@yutingzhao1991
Copy link
Collaborator

image

放到这个地方


# Interact with Solana Contract

> TODO
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以 chatgpt 翻译一版

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.

3 participants