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

Improve and update Keyring docs #1034

Merged
merged 11 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,14 @@ const config = {
from: "/wallet/how-to/request-permissions",
to: "/wallet/how-to/manage-permissions",
},
{
from: "/snaps/tutorials/custom-evm-accounts",
to: "/snaps/how-to/use-keyring-api/create-account-snap",
},
{
from: "/snaps/how-to/work-with-existing-snaps",
to: "/snaps/how-to/use-3rd-party-snaps",
},
].reduce((acc, item) => {
acc.push(item);
acc.push({ from: item.from + ".html", to: item.to });
Expand Down
331 changes: 166 additions & 165 deletions snaps/concepts/keyring-api.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion snaps/how-to/develop-a-snap.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Also, make sure to update the manifest file, icon file, and README to differenti

You should deploy a dapp where users can learn about your Snap and install it, or integrate with your existing dapp.

If your Snap is designed to communicate with dapps, you can encourage other dapp developers to [integrate your Snap](work-with-existing-snaps.md).
If your Snap is designed to communicate with dapps, you can encourage other dapp developers to [integrate your Snap](use-3rd-party-snaps.md).

## Resources and tools

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Connect your dapp to existing, third-party Snaps.
sidebar_position: 7
---

# Work with third-party Snaps
# Use third-party Snaps

Some existing, third-party Snaps are designed to communicate with dapps.
As a dapp developer, you can use these Snaps to take advantage of new features enabled by Snaps.
Expand Down
169 changes: 0 additions & 169 deletions snaps/how-to/use-keyring-api.md

This file was deleted.

12 changes: 12 additions & 0 deletions snaps/how-to/use-keyring-api/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"label": "Use the Keyring API",
"position": 6,
"link": {
"type": "generated-index",
"slug": "how-to/use-keyring-api",
"description": "Use the Keyring API to connect to custom EVM accounts in MetaMask."
},
"customProps": {
"flask_only": true
}
}
Loading
Loading