Skip to content
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
18 changes: 7 additions & 11 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
name: Deploy documentation to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["docs"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand All @@ -32,13 +28,13 @@ jobs:
working-directory: ./docs
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Setup Pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b

- name: Setup Nodejs and yarn
uses: actions/setup-node@v2
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: "18.18"
cache: yarn
Expand All @@ -52,21 +48,21 @@ jobs:
run: yarn build

- name: Generate the sitemap
uses: cicirello/generate-sitemap@v1
uses: cicirello/generate-sitemap@f76c8312a5a364c49e2610b8af12ae861805a056
with:
path-to-root: './docs/build'
drop-html-extension: true
base-url-path: https://onboard.blocknative.com
base-url-path: https://web3onboard.thirdweb.com

- name: Peak at folder contents
run: ls -al

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa
with:
# Upload entire repository
path: './docs/build'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ if (wallets[0]) {

**Onboard v1 migration guide**

If you're coming from v1, we've created a [migration guide for you](https://onboard.blocknative.com/docs/overview/onboard.js-migration-guide#background).
If you're coming from v1, we've created a [migration guide for you](https://web3onboard.thirdweb.com/docs/overview/onboard.js-migration-guide#background).

## Documentation

For full documentation, check out the README.md for each package or the [docs page here](https://onboard.blocknative.com/docs/overview/introduction#features):
For full documentation, check out the README.md for each package or the [docs page here](https://web3onboard.thirdweb.com/docs/overview/introduction#features):

**Core Repo**

Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@safe-global/safe-apps-sdk": "^8.1.0",
"@web3-onboard/bitget": "^2.1.1",
"@web3-onboard/blocto": "^2.1.1",
"@web3-onboard/para": "^2.4.0",
"@web3-onboard/para": "^1.0.0",
"@web3-onboard/cede-store": "^2.3.1",
"@web3-onboard/coinbase": "^2.3.1",
"@web3-onboard/core": "^2.23.1-alpha.1",
Expand Down
30 changes: 18 additions & 12 deletions docs/src/lib/components/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
export let iconSize = 40

let text = {
license: 'Released under the MIT License.',
copyright: '© 2023 Blocknative. All Rights Reserved.'
license: 'Released under the MIT License',
copyright: '© 2025 thirdweb'
}
</script>

Expand All @@ -25,7 +25,7 @@
--padding="2rem"
>
<Flexbox --direction="row" --gap="2rem" --padding="0">
<a class="icon-link" href="//github.com/blocknative/web3-onboard" target="_blank">
<a class="icon-link" href="//github.com/thirdweb-dev/web3-onboard" target="_blank">
<GitHubIcon width={iconSize} height={iconSize} />
<span class="sr-only">Github</span>
</a>
Expand All @@ -42,15 +42,14 @@
<span class="sr-only">Youtube</span>
</a>
</Flexbox>
<a href="//www.thirdweb.com/" target="_blank">
<img src={PoweredByTw} alt="Powered by thirdweb" />
<a href="//www.thirdweb.com/" target="_blank" class="logo-link">
<img src={PoweredByTw} alt="Powered by thirdweb" style="max-height: 20px;" />
<span class="sr-only">Powered by thirdweb</span>
</a>
</Flexbox>
<div class="copyright-box">
<div class="flex flex-row flex-wrap justify-center">
<div class="text">{text.license}</div>
<div class="text">{text.copyright}</div>
<div class="text">{text.license} {text.copyright}</div>
</div>
<div class="flex">
<a
Expand All @@ -70,24 +69,31 @@

<style>
footer {
background: #1a1d26;
min-height: 400px;
background: #ebebed;
min-height: 200px;
display: flex;
flex-flow: column;
}

a.icon-link {
color: rgba(255, 255, 255, 0.8);
color: rgba(20, 20, 20, 0.8);
transition: transform 200ms ease-in-out;
}
a.icon-link:hover {
color: rgba(255, 255, 255, 1);
transform: scale(1.2);
color: rgba(20, 20, 20, 1.0);
transform: scale(1.1);
}
a.icon-link:focus {
transform: none;
}

a.logo-link {
opacity: 0.8;
}
a.logo-link:hover {
opacity: 1.0;
}

.copyright-box {
/* grey/600 */
background: #242835;
Expand Down
2 changes: 1 addition & 1 deletion docs/src/lib/components/SEO/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
export let url

export let image = {
url: 'https://onboard.blocknative.com/blocknative-onboard-og-image.png',
url: 'https://web3onboard.thirdweb.com/blocknative-onboard-og-image.png',
alt: 'Web3-Onboard Connect Wallet Button'
}

Expand Down
33 changes: 33 additions & 0 deletions docs/src/lib/components/icons/thirdweb-icon.js

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

6 changes: 3 additions & 3 deletions docs/src/lib/services/onboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const intiOnboard = async theme => {
const dcent = dcentModule()
const walletConnect = walletConnectModule({
projectId: 'f6bd6e2911b56f5ac3bc8b2d0e2d7ad5',
dappUrl: 'https://onboard.blocknative.com/'
dappUrl: 'https://web3onboard.thirdweb.com/'
})
const ledger = ledgerModule({
walletConnectVersion: 2,
Expand Down Expand Up @@ -119,7 +119,7 @@ const intiOnboard = async theme => {

const uauthOptions = {
clientID: "a7371c4a-a61e-4fac-af48-4471c2e69e93",
redirectUri: "https://onboard.blocknative.com",
redirectUri: "https://web3onboard.thirdweb.com",
scope: 'openid wallet email:optional humanity_check:optional profile:optional social:optional',
walletConnectProjectId: 'f6bd6e2911b56f5ac3bc8b2d0e2d7ad5'
}
Expand Down Expand Up @@ -269,7 +269,7 @@ const intiOnboard = async theme => {
{ name: 'MetaMask', url: 'https://metamask.io' },
{ name: 'Coinbase', url: 'https://wallet.coinbase.com/' }
],
explore: 'https://onboard.blocknative.com/'
explore: 'https://web3onboard.thirdweb.com/'
},
accountCenter: { desktop: { enabled: true }, mobile: { enabled: true } },
theme: theme || 'system',
Expand Down
5 changes: 1 addition & 4 deletions docs/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
{ title: 'Documentation', slug: '/docs', match: /\/docs/ },
{ title: 'Examples', slug: '/examples', match: /\/examples/ },
{ title: 'FAQ', slug: '/faq', match: /\/faq/ },
{ title: 'Blog', slug: 'https://www.blocknative.com/blog/tag/web3-onboard' }
]
}

Expand All @@ -37,7 +36,7 @@
const title = 'Web3-Onboard | Framework-agnostic Web3 Connect Wallet Button'
const metadescription =
'Open-source, framework-agnostic JavaScript library to onboard users to web3 apps. Help your users transact with ease by enabling wallet connection, real-time transaction states, and more.'
const url = 'https://onboard.blocknative.com/'
const url = 'https://web3onboard.thirdweb.com/'
</script>

<svelte:head>
Expand Down Expand Up @@ -71,8 +70,6 @@
<div slot="navbar-right-alt">
<div class="flex items-center">
<ConnectWalletButton />
<SocialLink type="gitHub" href="//github.com/blocknative/web3-onboard" class="socialIcon" />
<SocialLink type="discord" href="//discord.com/invite/KZaBVME" class="socialIcon" />
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/src/routes/docs/[...3]modules/[...8]wagmi/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The config and connectors can be used with the WAGMI API returned from this modu
## WAGMI Example

This example assumes you have already setup web3-onboard to connect wallets to your dapp.
For more information see [web3-onboard docs](https://onboard.blocknative.com/docs/modules/core#install).
For more information see [web3-onboard docs](https://web3onboard.thirdweb.com/docs/modules/core#install).

```ts
import Onboard from '@web3-onboard/core'
Expand Down
2 changes: 1 addition & 1 deletion docs/src/routes/docs/[...4]wallets/[...1]arcana/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To enable the Arcana wallet in Web3 apps, developers must register and configure
For details, see [Quick Start Guide](https://docs.arcana.network/auth-quick-start.html).
:::

[Web3-Onboard](https://onboard.blocknative.com/) is an open-source, framework-agnostic JavaScript library to onboard users to web3 apps. This package can be used to integrate [Arcana Wallet](https://docs.arcana.network/concepts/anwallet/index.html) support into Web3 Onboard's "Connect Wallet" modal. With this module, the Arcana wallet option will be shown for any app that integrates with the Arcana Auth SDK and uses it to onboard users. There is no need to download any browser extension. For more information on how to use the Arcana Wallet, please refer to the [Arcana Wallet User Guide](https://docs.arcana.network/user-guides/wallet-ui/index.html).
[Web3-Onboard](https://web3onboard.thirdweb.com/) is an open-source, framework-agnostic JavaScript library to onboard users to web3 apps. This package can be used to integrate [Arcana Wallet](https://docs.arcana.network/concepts/anwallet/index.html) support into Web3 Onboard's "Connect Wallet" modal. With this module, the Arcana wallet option will be shown for any app that integrates with the Arcana Auth SDK and uses it to onboard users. There is no need to download any browser extension. For more information on how to use the Arcana Wallet, please refer to the [Arcana Wallet User Guide](https://docs.arcana.network/user-guides/wallet-ui/index.html).

### Install

Expand Down
2 changes: 1 addition & 1 deletion docs/src/routes/docs/[...4]wallets/[...23]phantom/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: Phantom
The module for connecting Phantom to Web3 Onboard is still in alpha testing and Phantom Eth mainnet coverage is not fully public yet but will be soon. Please visit the [Official Phantom Site](https://phantom.app/) for more details.
:::

[Web3-Onboard](https://onboard.blocknative.com/) is an open-source, framework-agnostic JavaScript library to onboard users to web3 apps. This package can be used to integrate [Phantom Wallet](https://phantom.app/) support into Web3 Onboard's "Connect Wallet" modal. With this module the Phantom option will be shown even if the extension is not installed on the users browser or used within the Phantom app. If selected the user will be taken to a download screen and prompted to create a Phantom wallet. For more information on Phantom, please refer to the [Phantom developer docs](https://docs.phantom.app/).
[Web3-Onboard](https://web3onboard.thirdweb.com/) is an open-source, framework-agnostic JavaScript library to onboard users to web3 apps. This package can be used to integrate [Phantom Wallet](https://phantom.app/) support into Web3 Onboard's "Connect Wallet" modal. With this module the Phantom option will be shown even if the extension is not installed on the users browser or used within the Phantom app. If selected the user will be taken to a download screen and prompted to create a Phantom wallet. For more information on Phantom, please refer to the [Phantom developer docs](https://docs.phantom.app/).

### Install

Expand Down
4 changes: 2 additions & 2 deletions docs/src/routes/faq/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ Join our [discord](https://discord.com/invite/KZaBVME) if you want to chat with

4. Is Web3 Onboard customizable?

Yes, we’ve made a [theming interface](https://onboard.blocknative.com/theming-tool) to show how you can theme Web3 Onboard for your dapp.
Yes, we’ve made a [theming interface](https://web3onboard.thirdweb.com/theming-tool) to show how you can theme Web3 Onboard for your dapp.

5. Are there any code examples?

Yes, we’ve made a connect wallet example available [here](https://onboard.blocknative.com/examples/connect-wallet#main-sidebar).
Yes, we’ve made a connect wallet example available [here](https://web3onboard.thirdweb.com/examples/connect-wallet#main-sidebar).

6. Does Web3 Onboard support my favorite network?

Expand Down
2 changes: 1 addition & 1 deletion examples/with-ledger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the

## Learn More

To learn more about how you can use web3Onboard to integrate Ledger and other popular web3 wallets into your dApps, take a look at our documentation: [Web3Onboard Documentation](https://onboard.blocknative.com/docs/overview/introduction#features) for more details.
To learn more about how you can use web3Onboard to integrate Ledger and other popular web3 wallets into your dApps, take a look at our documentation: [Web3Onboard Documentation](https://web3onboard.thirdweb.com/docs/overview/introduction#features) for more details.
2 changes: 1 addition & 1 deletion examples/with-nextjs-13/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function Home() {
<main className={styles.main}>
<h1 className={styles.title}>
Welcome to this demo of{' '}
<a href="https://onboard.blocknative.com"> Web3-Onboard!</a>
<a href="https://web3onboard.thirdweb.com"> Web3-Onboard!</a>
</h1>

<button
Expand Down
2 changes: 1 addition & 1 deletion examples/with-nextjs/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function Home() {
<main className={styles.main}>
<h1 className={styles.title}>
Welcome to this demo of
<a href="https://onboard.blocknative.com">
<a href="https://web3onboard.thirdweb.com">
{' '}
Web3-Onboard
</a>
Expand Down
2 changes: 1 addition & 1 deletion examples/with-sveltekit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ You can preview the production build with `npm run preview`.

## Build env configurations and troubleshooting

For further build env configs and troubleshooting checkout our official docs [here](https://onboard.blocknative.com/docs/modules/core#sveltekit-vite)
For further build env configs and troubleshooting checkout our official docs [here](https://web3onboard.thirdweb.com/docs/modules/core#sveltekit-vite)
2 changes: 1 addition & 1 deletion examples/with-sveltekit/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import adapter from '@sveltejs/adapter-auto'
import preprocess from 'svelte-preprocess'

// For further build env configs and troubleshooting
// checkout our official docs [here](https://onboard.blocknative.com/docs/modules/core#sveltekit-vite)
// checkout our official docs [here](https://web3onboard.thirdweb.com/docs/modules/core#sveltekit-vite)

/** @type {import('@sveltejs/kit').Config} */
const config = {
Expand Down
2 changes: 1 addition & 1 deletion examples/with-sveltekit/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { NodeGlobalsPolyfillPlugin } from '@esbuild-plugins/node-globals-polyfil
import { NodeModulesPolyfillPlugin } from '@esbuild-plugins/node-modules-polyfill'

// For further build env configs and troubleshooting
// checkout our official docs [here](https://onboard.blocknative.com/docs/modules/core#sveltekit-vite)
// checkout our official docs [here](https://web3onboard.thirdweb.com/docs/modules/core#sveltekit-vite)

const MODE = process.env.NODE_ENV
const development = MODE === 'development'
Expand Down
2 changes: 1 addition & 1 deletion examples/with-vanilla-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ Open [http://localhost:9000](http://localhost:9000) with your browser to see the

## Learn More

To learn more about other web3Onboard integraions, take a look at our documentation: [Web3Onboard Documentation](https://onboard.blocknative.com/docs/overview/introduction#features) for more details.
To learn more about other web3Onboard integraions, take a look at our documentation: [Web3Onboard Documentation](https://web3onboard.thirdweb.com/docs/overview/introduction#features) for more details.
2 changes: 1 addition & 1 deletion examples/with-vite-react/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function App() {
return (
<div className="App">
<div>
<a href="https://onboard.blocknative.com" target="_blank">
<a href="https://web3onboard.thirdweb.com" target="_blank">
<img
src="/blocknative.svg"
className="logo blocknative"
Expand Down
Loading
Loading