You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current Amount field in the wallet-connect General Component is the amount of raw transaction data rather than the real amount the account will pay due to the UTXO model.
For example, Account A which have 2 address a_1 and a_2 is supposed to sign a transaction, that is address a_1 put 100 CKB as input, and address a_2 get 10CKB change, and b_1, the dapp's address, get 90 CKB.
The Amount field will show 100 CKB on the transaction page, however, the user actually only pays 90 CKB. So putting the actual value of 90 on the transaction page is worthwhile.
The text was updated successfully, but these errors were encountered:
The account model is the recommended implementation model for this protocol. When a dapp is connected to a CKB wallet that implements the account model, the displayed token values on the page represent the net value relative to the account.
The current Amount field in the wallet-connect General Component is the amount of raw transaction data rather than the real amount the account will pay due to the UTXO model.
For example, Account A which have 2 address a_1 and a_2 is supposed to sign a transaction, that is address a_1 put 100 CKB as input, and address a_2 get 10CKB change, and b_1, the dapp's address, get 90 CKB.
![image](https://private-user-images.githubusercontent.com/85155313/251394687-72ea3bf6-086f-4649-bf33-b08b17eaf398.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMzgyNTIsIm5iZiI6MTczOTAzNzk1MiwicGF0aCI6Ii84NTE1NTMxMy8yNTEzOTQ2ODctNzJlYTNiZjYtMDg2Zi00NjQ5LWJmMzMtYjA4YjE3ZWFmMzk4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE4MDU1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZmNGRlYzMzYzU1ZTg3ZDk0MjA0Y2M1MDkxZmZkYTA0ODJjZmYzYTY5ZmIwNTM3YmIwNDk2NjVjOWIyNDlmMTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.tRAgANdTxhopEYHxiTLuquQoL0Hc-aKF4fndsFuTNwA)
The Amount field will show 100 CKB on the transaction page, however, the user actually only pays 90 CKB. So putting the actual value of 90 on the transaction page is worthwhile.
The text was updated successfully, but these errors were encountered: