mirror of
https://github.com/nspcc-dev/panel-fs-neo-org.git
synced 2026-03-01 04:29:25 +00:00
Add support for O3 wallet #82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @roman-khimov on GitHub (Jan 25, 2024).
Originally assigned to: @mike-petrov on GitHub.
Is your feature request related to a problem? Please describe.
I'm always frustrated when we can't work with wallets supported by https://governance.neo.org/
Describe the solution you'd like
Research O3 and what's needed to support it.
@mike-petrov commented on GitHub (Feb 6, 2024):
As for O3, there are few options for wallet:
O3 WALLET
O3 CROSS-CHAIN WALLET
Also wallet connect official example shows availabale methods to login:
@roman-khimov commented on GitHub (Feb 6, 2024):
Can you check what API governance.neo.org uses for O3? And what's NEOPIN, really?
@mike-petrov commented on GitHub (Feb 6, 2024):
Like an OneGate, O3 has own Discover page with dapps, but no have
N3 Governanceand also not working in explorer section. But as for the O3 wallet desktop app, it works for governance.neo.org, because it uses a local wc route:http://127.0.0.1:60004/socket.io/?EIO=3&transport=polling&t=...&sid=...@mike-petrov commented on GitHub (Feb 6, 2024):
NEOPIN Wallet is a private wallet with enhanced security, not related to neo blockchain@roman-khimov commented on GitHub (Feb 6, 2024):
Does it support https://github.com/neo-ngd/neo-dapi-monorepo/tree/master/packages/neo-dapi#signmessagewithoutsalt? Can you check this function to produce the same result we need for our objects?
@mike-petrov commented on GitHub (Feb 8, 2024):
Сurrent @nspcc-dev/neofs-rest-gw does not support @neo-ngd/neo-dapi-monorepo signing and gives error:
invalid session token: invalid signature.Some updates:
You can use different versions, the default is 2, but you can use 3 to sign a message without salt, and 1 to use the legacy version(@CityOfZion/wallet-connect-sdk).Some libraries use messageHex, this converts text to hexadecimal format.
@roman-khimov commented on GitHub (Feb 8, 2024):
Can you try against this set?
datais the data to sign (hexified), the key is in thewif.@roman-khimov commented on GitHub (Feb 8, 2024):
For the reference (to check the key setup), the same thing signed with WC scheme by SDK:
data is
in fact.
@mike-petrov commented on GitHub (Feb 9, 2024):
After verifyMessage in (wc-dapp-react):
truefalseIt uses message packaging for signMessageWithoutSalt, so signatures are different, but they are the same with @neo-ngd/neo-dapi-monorepo. As for signMessage, there no message packaging, but it use salt.