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
19 changes: 12 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ on:
- "docs/**"
- "README.md"

push:
branches: ["main"]
paths-ignore:
- ".github/**"
- "docs/**"
- "README.md"

workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -73,3 +66,15 @@ jobs:
with:
command: ${{ matrix.cargo.cmd }}
args: ${{ matrix.cargo.args }}

misspell:
name: Spellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: misspell
uses: reviewdog/action-misspell@v1
with:
github_token: ${{ secrets.github_token }}
locale: "US"
15 changes: 5 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,18 @@ on:
workflow_dispatch:

jobs:
run-tests:
uses: ./.github/workflows/ci.yaml
secrets: inherit

release:
needs: [run-tests]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: "Install Rust toolchain (stable)"
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
default: true

- name: Cache cargo registry
uses: Swatinem/rust-cache@v2

- name: "Cocogitto release"
id: release
uses: cocogitto/cocogitto-action@v3
Expand Down
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
# WalletConnectRust
WalletConnect Rust Client
# WalletConnect Rust SDK

This is the foundation for the WalletConnect Rust SDK. Currently, there's only the core client and the RPC types required to communicate with the Relay.

See the [basic example](examples/basic_client.rs).

## `relay_client`

The core Relay client. Provides access to all available Relay RPC methods to build on top of.

## `relay_rpc`

Provides all of the Relay domain types (e.g. `ClientId`, `ProjectId` etc.) as well as auth token generation and validation functionality.

# License

[Apache License (Version 2.0)](LICENSE)