Cross Chain Relay Communication callback protocol
Initial Reference
This crate provides a reference implementation of the XP Relay Chain Protocol. It uses serde & bincode for Serialiazation/Deserialization
Cargo.toml:
[dependencies]
serde_xp_protocol = { git = https://github.com/xp-network/serde_xp_protocol }src.rs:
use serde_xp_protocol::{XpProtocol, Flags, to_bytes, from_bytes}
cargo test
To see debugging info:
cargo test -- --nocapture