Skip to content

Commit

Permalink
Merge Integration Example Page with Web3Modal
Browse files Browse the repository at this point in the history
- Fix Discord invite link
- Add Troubleshooting sections to every other page
  • Loading branch information
Karkunow committed Mar 4, 2024
1 parent cf5ead8 commit af9bdeb
Show file tree
Hide file tree
Showing 8 changed files with 264 additions and 250 deletions.
231 changes: 0 additions & 231 deletions docs/onboard/integration-example.md

This file was deleted.

9 changes: 8 additions & 1 deletion docs/onboard/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ It also helps onboard your users, even ones unfamiliar with the Web3 ecosystem.
Connecting Aurora Pass to a DApp is done like every other EVM wallet implementing a [WalletConnect v2](https://docs.walletconnect.com/).
See more info on configuring or adding WalletConnect [here](/onboard/wallet-connect).

You can follow the step-by-step [integration example](/onboard/integration-example) to understand better how different components work together.
We propose two options for displaying the wallets for your users: Web3Modal or Rainbow Kit. You can follow the step-by-step integration examples here:

- [Web3Modal Example](/onboard/wallets/web3modal#integrate-web3modal)
- [RainbowKit Example](/onboard/wallets/rainbowkit#integrate-rainbowkit)

That will help you to understand better how the different components work together. E.g., wallet modals, promo widgets and UI frameworks.

## Promo Widget

Expand Down Expand Up @@ -58,3 +63,5 @@ The seed phrase is stored using [expo-secure-store](https://docs.expo.dev/versio
## Troubleshooting

If you encounter any issues, please visit our [Troubleshooting Page](/onboard/troubleshooting) to find a solution.
In case you still have questions, please get in touch with our [Support Team](https://discord.gg/WXfbGsSUbT)
on Discord and open a support ticket there.
9 changes: 7 additions & 2 deletions docs/onboard/promo-widget.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ If you click on the `Open Promo` link, you will be able to see the Promo Widget
And then, if you click further on the 'Skip, I have a wallet' button, you will see the placeholder message about Web3Modal:
![ap_widget_example_1](/img/ap_widget_example_2.png)

You can also look at the more extensive [integration example here](/onboard/integration-example) to learn how to add Web3Modal to your project.
Or go directly to the section of [adding the Web3Modal](/onboard/integration-example#adding-web3modal) if you came here from that page.
You can also look at the more extensive [integration example here](/onboard/wallets/web3modal#integrate-web3modal) to learn how to add Web3Modal to your project,
particular section describing it is [here](/onboard/wallets/web3modal#add-web3modal).

### What should be called in the `onComplete` function?

Expand All @@ -111,3 +111,8 @@ To see the widget in use, visit one of the projects on the list:

- [Aurora+](https://aurora.plus/)
- [Pipeflare](https://pipeflare.io/flare2-token/spin)

## Troubleshooting

Please, take a look at our [Troubleshooting Page](/onboard/troubleshooting). In case you still have questions, please get in touch with our [Support Team](https://discord.gg/WXfbGsSUbT)
on Discord and open a support ticket there.
10 changes: 5 additions & 5 deletions docs/onboard/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ If you have transferred them to a CEX address, you can only recover these tokens
### I can't find the token [XYZ] in my wallet – can I add it somehow?

- If you are a developer, please add a PR to [this repository](https://github.com/aurora-is-near/bridge-assets) following [this example](https://github.com/aurora-is-near/bridge-assets/pull/273/files).
- If you are a user, don't hesitate to get in touch with our [Support Team](https://discord.gg/dEFJBz8HQV) via Discord, and we will help you resolve this issue.
- If you are a user, don't hesitate to get in touch with our [Support Team](https://discord.gg/WXfbGsSUbT) via Discord, and we will help you resolve this issue.

### I have paid for my transaction pack but got no transactions added

Please get in touch with our [Support Team](https://discord.gg/dEFJBz8HQV), and we will help you get your transaction pack.
Please get in touch with our [Support Team](https://discord.gg/WXfbGsSUbT), and we will help you get your transaction pack.

### I can't see my balances in Aurora Pass

Expand All @@ -39,11 +39,11 @@ To fix it, please try to follow the next steps:
1. Try to disconnect all previously connected wallets from that DApp.
2. Re-connect with your AuroraPass wallet to a DApp.

If the problem persists, please get in touch with our [Support Team](https://discord.gg/dEFJBz8HQV).
If the problem persists, please get in touch with our [Support Team](https://discord.gg/WXfbGsSUbT).

### I see symbols like 0xab4... while signing a DApp transaction in Aurora Pass - what do they mean?

If you are a user, don't hesitate to get in touch with either the DApp support team or the [Aurora Support Team](https://discord.gg/dEFJBz8HQV) and ask them to verify the contracts used in that DApp.
If you are a user, don't hesitate to get in touch with either the DApp support team or the [Aurora Support Team](https://discord.gg/WXfbGsSUbT) and ask them to verify the contracts used in that DApp.

If you are a developer, verify your DApp contracts in [Aurora Explorer](https://explorer.aurora.dev/). We're using Blockscout
so that you can read more about it [here](https://docs.blockscout.com/for-users/verifying-a-smart-contract).
Expand All @@ -55,4 +55,4 @@ We advise you to verify all (or most) of your contracts, which gives your users

### I have a problem which is not on the list

Please get in touch with our [Support Team](https://discord.gg/dEFJBz8HQV) on Discord and open a ticket describing your problem.
Please get in touch with our [Support Team](https://discord.gg/WXfbGsSUbT) on Discord and open a ticket describing your problem.
2 changes: 1 addition & 1 deletion docs/onboard/wallet-connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To integrate WalletConnect into your DApp, follow these steps:
3. If you already have WalletConnect v2, add the Aurora Pass wallet to your wallet modal:
e.g., [Web3Modal](/onboard/wallets/web3modal#adding-aurora-pass) or [RainbowKit](/onboard/wallet-connect#add-your-wallets-modal)

Please get in touch with our [Support Team](https://discord.com/invite/dEFJBz8HQV) if you need some help
Please get in touch with our [Support Team](https://discord.gg/WXfbGsSUbT) if you need some help

## Add your wallet modal

Expand Down
5 changes: 5 additions & 0 deletions docs/onboard/wallets/rainbowkit.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,8 @@ const connectors = connectorsForWallets([ ...
```

That is it. Now, you can use Aurora Pass from your RainbowKit popup.

## Troubleshooting

Please, take a look at our [Troubleshooting Page](/onboard/troubleshooting). In case you still have questions, please get in touch with our [Support Team](https://discord.gg/WXfbGsSUbT)
on Discord and open a support ticket there.
Loading

0 comments on commit af9bdeb

Please sign in to comment.