consolidated .docs
This commit is contained in:
parent
97119de4b5
commit
9e5523c79d
|
@ -1,9 +1,11 @@
|
|||
libraries:
|
||||
clients:
|
||||
- name: "switchboard-v2"
|
||||
slug: "./"
|
||||
description: "A Rust library to interact with Switchboard V2 accounts on Solana."
|
||||
language: "rust"
|
||||
path: "rust/switchboard-v2"
|
||||
- name: "@switchboard-xyz/solana.js"
|
||||
slug: "./"
|
||||
description: "A Typescript client to interact with Switchboard on Solana."
|
||||
language: "javascript"
|
||||
path: "javascript/solana.js"
|
|
@ -0,0 +1,36 @@
|
|||
<div align="center">
|
||||
<a href="#">
|
||||
<img src="https://github.com/switchboard-xyz/sbv2-core/raw/main/website/static/img/icons/switchboard/avatar.png" />
|
||||
</a>
|
||||
|
||||
<h1>switchboard-v2</h1>
|
||||
|
||||
<p>A Rust library to interact with Switchboard accounts on Solana.</p>
|
||||
|
||||
<p>
|
||||
<a href="https://crates.io/crates/switchboard-v2">
|
||||
<img alt="Crates.io" src="https://img.shields.io/crates/v/switchboard-v2?label=switchboard-v2&logo=rust" />
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
## Install
|
||||
|
||||
Run the following Cargo command in your project directory:
|
||||
|
||||
```bash
|
||||
cargo add switchboard-v2
|
||||
```
|
||||
|
||||
Or add the following line to your Cargo.toml:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
switchboard-v2 = "0.1.23"
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
<!-- usage -->
|
||||
|
||||
<!-- usagestop -->
|
|
@ -1,52 +0,0 @@
|
|||
<div align="center">
|
||||
<a href="#">
|
||||
<img src="https://github.com/switchboard-xyz/sbv2-core/raw/main/website/static/img/icons/switchboard/avatar.png" />
|
||||
</a>
|
||||
|
||||
<h1>switchboard-v2</h1>
|
||||
|
||||
<p>A Rust library to interact with Switchboard V2 accounts on Solana.</p>
|
||||
|
||||
<p>
|
||||
<a href="https://crates.io/crates/switchboard-v2">
|
||||
<img alt="Crates.io" src="https://img.shields.io/crates/v/switchboard-v2?label=switchboard-v2&logo=rust" />
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<a href="https://discord.gg/switchboardxyz">
|
||||
<img alt="Discord" src="https://img.shields.io/discord/841525135311634443?color=blueviolet&logo=discord&logoColor=white" />
|
||||
</a>
|
||||
<a href="https://twitter.com/switchboardxyz">
|
||||
<img alt="Twitter" src="https://img.shields.io/twitter/follow/switchboardxyz?label=Follow+Switchboard" />
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<h4>
|
||||
<strong>Typedocs: </strong><a href="https://docs.rs/switchboard-v2/latest/switchboard-v2/">docs.rs/switchboard-v2</a>
|
||||
</h4>
|
||||
<h4>
|
||||
<strong>Sbv2 Solana SDK: </strong><a href="https://github.com/switchboard-xyz/sbv2-solana">github.com/switchboard-xyz/sbv2-solana</a>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
## Install
|
||||
|
||||
Run the following Cargo command in your project directory:
|
||||
|
||||
```bash
|
||||
cargo add switchboard-v2
|
||||
```
|
||||
|
||||
Or add the following line to your Cargo.toml:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
switchboard-v2 = "0.1.23"
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
<!-- usage -->
|
||||
|
||||
<!-- usagestop -->
|
Loading…
Reference in New Issue