Open rsrbk opened 2 years ago
Hi everyone! I’m doing dapps support implementation for Trust Wallet and got a bit confused about this type: https://github.com/aptos-labs/petra-wallet-types/blob/1b7ee21d522a7f47b8389b573b55d55c5a405e8f/index.d.ts#L51-L53
I’m not super strong in ts, but it looks like the returned type has to be a json with both key and values as numbers? This looks a bit different from what is normally being sent to RPC where the keys are strings: https://fullnode.devnet.aptoslabs.com/v1/spec#/operations/submit_transaction
Also do you have any (test) dapp that requests to sign arbitrary message? https://aptos.dev/guides/building-your-own-wallet/#signmessagepayload-signmessagepayload
Hi everyone! I’m doing dapps support implementation for Trust Wallet and got a bit confused about this type: https://github.com/aptos-labs/petra-wallet-types/blob/1b7ee21d522a7f47b8389b573b55d55c5a405e8f/index.d.ts#L51-L53
I’m not super strong in ts, but it looks like the returned type has to be a json with both key and values as numbers? This looks a bit different from what is normally being sent to RPC where the keys are strings: https://fullnode.devnet.aptoslabs.com/v1/spec#/operations/submit_transaction