Skip to content

Commit

Permalink
Revert "docs: create content for Libraries Integration (#9)" (#11)
Browse files Browse the repository at this point in the history
This reverts commit 103c55d.
  • Loading branch information
HoangVD2 authored Mar 12, 2024
1 parent 103c55d commit 2ed9594
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 554 deletions.
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

0 comments on commit 2ed9594

Please sign in to comment.