@trusource/ws
v0.1.4
Published
WebSockets server shared by local and remote servers.
Downloads
4
Readme
WebSockets server shared by local and remote servers.
Steps in servers
// 1. Subscribe to logs - same for local and remote // 2. Decode log / event - same for local and remote // 3. Decode parameters - same for local and remote
// 4. Build request - different // Check whitelist for remote server - from address identify API and get OAS
// 5. Send request - same for local and remote // 6. Send data to contract - different