Skip to content

Commit

Permalink
added guide and demo (#297)
Browse files Browse the repository at this point in the history
* added guide and demo

* updated guide with code fixes and time to complete with source code

* removed repo setup, reduced steps, simplifed language, adding section for quickstart

---------

Co-authored-by: James Lawton <[email protected]>
  • Loading branch information
moskalyk and JamesLawton authored Sep 26, 2024
1 parent 16aa981 commit 8947ac7
Show file tree
Hide file tree
Showing 7 changed files with 203 additions and 436 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ docs/.DS_Store
docs/public/.DS_Store
pnpm-lock.yaml
vocs.config.tsx.timestamp-*
docs/pages/solutions/.DS_Store
docs/pages/solutions/.DS_Store
.cursorrules
2 changes: 1 addition & 1 deletion docs/pages/solutions/builder/embedded-wallet/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Configuring Sequence Embedded Wallet in Builder
description: Configure a Sequence Embedded Wallet in Builder to easily onboard users to your games by integrating OAuth accounts. Learn how to set up login providers like Google Auth and Apple Auth, specify allowed origins for security, set up a recovery wallet, create an initial configuration.
---
# Embedded Wallet Configuration
You can configure a [Sequence Embedded Wallet](/solutions/wallets/embedded-wallet/overview) in Builder and integrate your own OAuth accounts to enable easy onboarding to your games. Configuration page in Builder [is available here](https://sequence.build/project/default/wallet/embedded-wallet).
You can configure a [Sequence Embedded Wallet](/solutions/wallets/embedded-wallet/overview) in Builder and integrate your own OAuth accounts to enable easy onboarding to your games. Configuration page in Builder [is available here](https://sequence.build/project/default/embedded-wallet).

The following sections will explain the various ways to configure using an Embedded Wallet in Builder:
- [Login Providers](/solutions/builder/embedded-wallet#login-providers): Web2 based authentication providers
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/solutions/wallets/embedded-wallet/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ Run the following from your terminal to clone the starter repo.

:::code-group
```bash [React]
git clone https://github.com/0xsequence/kit-embedded-wallet-react-boilerplate.git
npx sequence-cli boilerplates create-embedded-wallet-react-starter
```

```bash [Next]
git clone https://github.com/0xsequence/kit-embedded-wallet-nextjs-boilerplate.git
npx sequence-cli boilerplates create-kit-embedded-wallet-nextjs-starter
```


Expand Down
616 changes: 191 additions & 425 deletions docs/pages/solutions/wallets/link-wallets/integration-guide.mdx

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/pages/solutions/wallets/link-wallets/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Wallet Linking enables the ability for a developer to create a verifiable associ
- Easy migration for flow of funds or liquidity from an external wallet to the embedded wallet for a game.
- Verifiying a number of ERC20 tokens a user holds to provide governance rights.

Using Sequence SDKs, the embedded wallet session can be instantiated from nearly any platform such as Mobile, Web, PC or Console so users can enjoy a seamless game experience. However, when desired, a verifiable URL is generated for the user to direct them to a browser session to link their external wallets.
Using Sequence SDKs, the embedded wallet session can be instantiated from nearly any platform such as Mobile, Web, PC or Console so users can enjoy a seamless game experience. However, when desired, a user is directed to an external browser session to link additional wallets.

## Try a Demo

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"styled-components": "^6.1.8",
"swagger-ui-react": "^5.15.0",
"typescript": "latest",
"vocs": "https://github.com/0xsequence/vocs.git#build"
"vocs": "https://github.com/0xsequence/vocs#build"
},
"packageManager": "[email protected]"
}
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8947ac7

Please sign in to comment.