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: re-introduce testing wallets docs #2635

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
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
3 changes: 3 additions & 0 deletions .changeset/good-hotels-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
---
docs: re-introduce testing wallets docs
4 changes: 4 additions & 0 deletions apps/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ export default defineConfig({
text: 'Wallet Transferring',
link: '/guide/wallets/wallet-transferring',
},
{
text: 'Setting up test wallets',
link: '/guide/wallets/setting-up-test-wallets',
},
{
text: 'Signing',
link: '/guide/wallets/signing',
Expand Down
13 changes: 13 additions & 0 deletions apps/docs/src/guide/wallets/setting-up-test-wallets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Setting up test wallets

You'll often want to create one or more test wallets when testing your contracts. Here's how to do it.

## Create a single wallet

<<< @/../../docs-snippets/src/guide/wallets/access.test.ts#wallets{ts:line-numbers}

## Setting up multiple test wallets

If you need multiple test wallets, they can be set up as follows:

<<< @/../../docs-snippets/src/guide/wallets/test-wallets.test.ts#wallet-setup{ts:line-numbers}
Loading