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

Revert "docs: create content for Libraries Integration" #10

Closed
wants to merge 1 commit into from
Closed
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
10 changes: 5 additions & 5 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ function sidebarHome() {
collapsed: true,
items: [
{
text: "XDEFI Wallet Integration",
text: "XDEFI Wallet integration",
link: "/developers/xdefi-wallet-integration",
collapsed: true,
items: [
Expand Down Expand Up @@ -499,7 +499,7 @@ function sidebarHome() {
],
},
{
text: "Blockchains Integration",
text: "Blockhains Integration",
link: "/developers/blockchains-integration",
collapsed: true,
items: [
Expand Down Expand Up @@ -566,7 +566,7 @@ function sidebarHome() {
],
},
{
text: "Libraries Integration",
text: "Libraries integration",
link: "/developers/libraries-integration",
collapsed: true,
items: [
Expand All @@ -576,11 +576,11 @@ function sidebarHome() {
link: "/developers/blocknative-xdefi-integration",
},
{
text: "CosmosKit",
text: "Cosmos Kit",
link: "/developers/cosmoskit-xdefi-integration",
},
{
text: "RainbowKit",
text: "Rainbowkit",
link: "/developers/rainbowkit-xdefi-integration",
},
{
Expand Down
27 changes: 0 additions & 27 deletions developers/blocknative-xdefi-integration.md
Original file line number Diff line number Diff line change
@@ -1,28 +1 @@
# BlockNative XDEFI Integration

First, your app need to install the core Onboard library, the injected wallets module and optionally ethers js to support browser extension and mobile wallets:

```bash
yarn add @web3-onboard/core @web3-onboard/injected-wallets ethers
```

Then initialize in your app:

```javascript
import Onboard from "@web3-onboard/core";
import xdefiWalletModule from "@web3-onboard/xdefi";

// initialize the module with options
const xdefiWalletSdk = xdefiWalletModule();

const onboard = Onboard({
// ... other Onboard options
wallets: [
xdefiWalletSdk(),
//... other wallets
],
});

const connectedWallets = await onboard.connectWallet();
console.log(connectedWallets);
```
43 changes: 0 additions & 43 deletions developers/cosmoskit-xdefi-integration.md

This file was deleted.

6 changes: 3 additions & 3 deletions developers/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ XDEFI Wallet is also integrated in a large panel of libraries to make it accessi

You can acces the list from here:

- [BlockNative](./blocknative-xdefi-integration)
- [CosmosKit](./cosmoskit-xdefi-integration)
- [RainbowKit](./rainbowkit-xdefi-integration)
- [BlockNative](./blocknative-xdefi-integration
- [Cosmos Kit](./cosmoskit-xdefi-integration)
- [Rainbowkit](./rainbowkit-xdefi-integration)
- [Solana Adapter](./solana-adapter-xdefi-integration)
10 changes: 0 additions & 10 deletions developers/libraries-integration.md

This file was deleted.

122 changes: 0 additions & 122 deletions developers/rainbowkit-xdefi-integration.md

This file was deleted.

Loading
Loading