Skip to content

Commit

Permalink
Added SDK matrix (#632)
Browse files Browse the repository at this point in the history
* Added SDK matrix

* Exposed transaction_data
  • Loading branch information
markopoloparadox authored Aug 20, 2024
1 parent 5dc73fb commit bd51db2
Show file tree
Hide file tree
Showing 39 changed files with 86 additions and 37,827 deletions.
79 changes: 79 additions & 0 deletions LIBRARY_MATRIX.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
#### Labels
- L1 - Available throught SDK as a function
- L2 - Can be done but requires extra work

## Extrinsics

#### Data Availability

| Lib | Submit Data | Submit Block Length Proposal | Create Application Key | Set Application Key | Set Submit Data Fee Modifier |
| ---------- | ----------- | ---------------------------- | ---------------------- | ------------------- | ---------------------------- |
| Avail-Rust | L1 | L1 | L1 | L1 | L1 |
| Avail-JS | L1 | L1 | L1 | L1 | L1 |
| Avail-Deno | L1 | L1 | L1 | L1 | L1 |
| Avail-Go | - | - | - | - | - |

#### Balances

| Lib | Transfer All | Transfer Allow Death | Transfer Keep Alive |
| ---------- | ------------ | -------------------- | ------------------- |
| Avail-Rust | L1 | L1 | L1 |
| Avail-JS | L1 | L1 | L1 |
| Avail-Deno | L1 | L1 | L1 |
| Avail-Go | - | - | - |

#### Staking

| Lib | Bond | Bond Extra | Chill | Chill Extra | Nomiate | Unbound | Validate |
| ---------- | ---- | ---------- | ----- | ----------- | ------- | ------- | -------- |
| Avail-Rust | L1 | L1 | L1 | L1 | L1 | L1 | L1 |
| Avail-JS | L1 | L1 | L1 | L1 | L1 | L1 | L1 |
| Avail-Deno | L1 | L1 | L1 | L1 | L1 | L1 | L1 |
| Avail-Go | - | - | - | - | - | - | - |

## RPCs

#### Kate

| Lib | Block Length | Query Data Proof | Query Proof | Query Rows |
| ---------- | ------------ | ---------------- | ----------- | ---------- |
| Avail-Rust | L1 | L1 | L1 | L1 |
| Avail-JS | - | - | - | - |
| Avail-Deno | - | - | - | - |
| Avail-Go | - | - | - | - |

#### Author

| Lib | Rotate Keys | Has Key | Has Session Key | Insert Key | Pending Extrinsics | Remove Extrinsic | Submit Extrinsic |
| ---------- | ----------- | ------- | --------------- | ---------- | ------------------ | ---------------- | ---------------- |
| Avail-Rust | L1 | - | - | - | - | - | - |
| Avail-JS | - | - | - | - | - | - | - |
| Avail-Deno | - | - | - | - | - | - | - |
| Avail-Go | - | - | - | - | - | - | - |

#### Chain

| Lib | Get Block | Get Block Hash | Get Finalized Head | Get Header |
| ---------- | --------- | -------------- | ------------------ | ---------- |
| Avail-Rust | L1 | L1 | L1 | L1 |
| Avail-JS | - | - | - | - |
| Avail-Deno | - | - | - | - |
| Avail-Go | - | - | - | - |

#### Payment

| Lib | Query Fee Details | Query Info |
| ---------- | ----------------- | ---------- |
| Avail-Rust | L1* | L1* |
| Avail-JS | - | - |
| Avail-Deno | - | - |
| Avail-Go | - | - |

#### System

| Lib | Account Next Index | Add Log Filter | Add Reserved Peer | Chain | Chain Type | Dry Run | Health | Local Listen Addresses | Local Peer Id | Name | Node Roles | Peers | Properties | Removed Reserved Peer | Reserved Peers | Reset Log Filter | Sync State | Version |
| ---------- | ------------------ | -------------- | ----------------- | ----- | ---------- | ------- | ------ | ---------------------- | ------------- | ---- | ---------- | ----- | ---------- | --------------------- | -------------- | ---------------- | ---------- | ------- |
| Avail-Rust | L1 | - | - | L1 | L1 | - | L1 | L1 | L1 | L1 | L1 | L1 | L1 | - | - | - | L1 | L1 |
| Avail-JS | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
| Avail-Deno | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
| Avail-Go | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
1 change: 1 addition & 0 deletions avail-deno/docs/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Structure

- `/extrinsics/` folder contains API reference and examples for SDK extrinsics
- `/advanced-examples/` folder contains advanced examples that showcase how to do things that are not already available through the SDK interface.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Structure

If you are looking for the API reference and examples on how to use the SDK check out the `/docs/` folder. This folder contains advanced
If you are looking for the API reference and examples on how to use the SDK check out the `/extrinsic/` or other folders. This folder contains advanced
examples that showcase how to do things that are not already available through the SDK interface.

## Examples
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit bd51db2

Please sign in to comment.