...t/eip1271-verification-util";
const checkSig = async () => {
// the random message (nonce) that was signed
const data = "0x787177";
// defining signer and the rpc url
const signerAddress = '0x4836a472ab1dd406ecb8d0f933a985541ee3921f';
// the rpc url to make requests
const rpcUr...
...n = "0.1.0"
authors = ["leeduckgo "]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
reqwest = { version = "0.10", features = ["blocking", "json"] }
tokio = { version = "0.2", features = ["full"] }
```
我...
...闪电网络使用 [Sphinx](https://cypherpunks.ca/%7Eiang/pubs/Sphinx_Oakland09.pdf) 多重加密协议。在使用闪电网络时,Alice 会为网络的每一部分都做一层加密,从支付路径的末端开始。她使用 Eric 的公钥为 Eric 加密了消息。这条加密消息会被嵌...