问题同时从以太坊交易中恢复公钥

发布于 2025-02-06 03:30:08 字数 1209 浏览 1 评论 0原文

我目前正在尝试使用其交易之一从以太坊帐户获取公共密钥, https:///toolkit.abdk。咨询/以太坊

这是我有关合同的信息:

{
    from: "0x9acadffa3d622b6f77b2dd625ad41e054eec300e",
    gas: 2000000,
    gasPrice: Object { s: 1, e: 10, c: Array [ 50000000000 ] },
    hash: "0x6799103870e88fc59a9dc5f400dfd2fb5fed82b58fbffb09a99808003ee2634d",
    input: "0x",
    nonce: 3,
    r: "0xe58712e11aaa32ac207e893cde3b91159c1e1dc5be5a9bd18f0476869806feb6",
    s: "0x421eef8f63fc2872c86d79048ac053542980768f4b7638da40353c0a95012473",
    to: "0xafb1e5c639950c547473de7dc5afb8d8cea0658c",
    v: "0x1c",
    value: Object { s: 1, e: 15, c: Array [ 10 ]}
}

我认为将这些价值放在ABDK中会给我交易的原始十六进制数据,然后给我公钥。

但是,使用原始的十六进制数据,我可以根据将解码模式进行交易或十六进制而获得良好的哈希和良好地址。 我真的很困惑,因为这两个良好的值出现了,但在同一地方没有同时出现。

Here is the raw data that I got :

0xf86c03850ba43b7400831e848094afb1e5c639950c547473de7dc5afb8d8cea0658c87038d7ea4c68000801ca0e58712e11aaa32ac207e893cde3b91159c1e1dc5be5a9bd18f0476869806feb6a0421eef8f63fc2872c86d79048ac053542980768f4b7638da40353c0a95012473

Thank you by advance for your help !

I am currently trying to get public key from an ethereum account using one of its transaction and https://toolkit.abdk.consulting/ethereum

Here is the info I have about the contract :

{
    from: "0x9acadffa3d622b6f77b2dd625ad41e054eec300e",
    gas: 2000000,
    gasPrice: Object { s: 1, e: 10, c: Array [ 50000000000 ] },
    hash: "0x6799103870e88fc59a9dc5f400dfd2fb5fed82b58fbffb09a99808003ee2634d",
    input: "0x",
    nonce: 3,
    r: "0xe58712e11aaa32ac207e893cde3b91159c1e1dc5be5a9bd18f0476869806feb6",
    s: "0x421eef8f63fc2872c86d79048ac053542980768f4b7638da40353c0a95012473",
    to: "0xafb1e5c639950c547473de7dc5afb8d8cea0658c",
    v: "0x1c",
    value: Object { s: 1, e: 15, c: Array [ 10 ]}
}

I thought that putting these values in ABDK would give me the raw hex data of the transaction, and then give me the public key.

However, with the raw hex data, I get alternatively the good hash and the good address depending on putting the decoding mode to Transaction or to Hex.
I am really confused, because the two good values appears, but not on the same time at the same place.

Here is the raw data that I got :

0xf86c03850ba43b7400831e848094afb1e5c639950c547473de7dc5afb8d8cea0658c87038d7ea4c68000801ca0e58712e11aaa32ac207e893cde3b91159c1e1dc5be5a9bd18f0476869806feb6a0421eef8f63fc2872c86d79048ac053542980768f4b7638da40353c0a95012473

Thank you by advance for your help !

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

零崎曲识 2025-02-13 03:30:08

在这里。您的地址没有官方交易艰难。您是如何设法获得这些价值的?

And here it is. Your address has no official transactions tough. How did you manage to get those values?

Recovering public key from transaction on Ethereum

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文