walletconnect-client 0.2.0

WASM library for walletconnect dApp connections
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod auth;
mod claims;
mod client_id;
pub(crate) mod decode;
pub mod error;
pub mod header;

pub use auth::{
    token::{AuthToken, SerializedAuthToken},
    RELAY_WEBSOCKET_ADDRESS,
};

const JWT_DELIMITER: &str = ".";
const JWT_HEADER_TYP: &str = "JWT";
const JWT_HEADER_ALG: &str = "EdDSA";
const JWT_VALIDATION_TIME_LEEWAY_SECS: i64 = 120;