• XSS.stack #1 – первый литературный журнал от юзеров форума

EIP-681 URI проблема открытия в метамаске/трасте. Trouble with open EIP-681 URI in metamask/trust wallet

levakekv

Думающий и Делающий
Забанен
Регистрация
27.08.2023
Сообщения
26
Реакции
2
Депозит
0.0001
Пожалуйста, обратите внимание, что пользователь заблокирован
При попытке открытия EIP-681 URI формата через два кошелька(metamask и trust wallet) пример:
ethereum:0xdAC17F958D2ee523a2206206994597C13D831ec7@1/approve?spender={my_adress}&value=0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Происходит две ошибки:
1. Метамаск возвращает ошибку "chain with id 1 doesn't found"
2. Trust Wallet распознает как запрос на трансфер, а не апрув.

При этом, URI для трансфера распознает вполне себе правильно. При попытке использования персональных линков для метамаска и траста, оба кошелька имели такую же проблему.
 
Пожалуйста, обратите внимание, что пользователь заблокирован
wallets do not add good support for EIP-681 . they are usually always broken , it has been like this for many years .
but they have info about accepting EIP-681 in this two wallets.
also, i changed URI from approve function to transfer and its working corretcly
 
but they have info about accepting EIP-681 in this two wallets.
also, i changed URI from approve function to transfer and its working corretcly
yes , but support for approval in that format always had issues . other functions usually work , but approve has always been broken in many cases unfortunately .

you can check github metamask commits , many people complain for the past 4-5 years .
 
Пожалуйста, обратите внимание, что пользователь заблокирован
yes , but support for approval in that format always had issues . other functions usually work , but approve has always been broken in many cases unfortunately .

you can check github metamask commits , many people complain for the past 4-5 years .
but they finally fixed it in these issues
 
Пожалуйста, обратите внимание, что пользователь заблокирован
yes , but support for approval in that format always had issues . other functions usually work , but approve has always been broken in many cases unfortunately .

you can check github metamask commits , many people complain for the past 4-5 years .
and we can start this function, an example, from etherscan and it will be work in this wallets
 
and we can start this function, an example, from etherscan and it will be work in this wallets
wallet interaction is better with etherscan direct calls . the call you are making here with EIP-681 is the issue . they claim to fix it , but they claimed to fix it in 2020 . people still had issues in 2021 & 2023 . it is an old EIP , so it is understandable to have issues with new implementations .

maybe approve call in this format does not work because: &value=0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ?

ERC20 gets called by IERC20 interface externally , and this is support for amount not msg.value which &value might be targetting .

try: &uint256=1
 
Пожалуйста, обратите внимание, что пользователь заблокирован
wallet interaction is better with etherscan direct calls . the call you are making here with EIP-681 is the issue . they claim to fix it , but they claimed to fix it in 2020 . people still had issues in 2021 & 2023 . it is an old EIP , so it is understandable to have issues with new implementations .

maybe approve call in this format does not work because: &value=0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff ?

ERC20 gets called by IERC20 interface externally , and this is support for amount not msg.value which &value might be targetting .

try: &uint256=1
no, that's doesn't work too
by the way, if i change network(ETH - TRON, erc-20 - trc-20 respectively) can i use it in wallets? maybe this network don't have troubles with wallets. which standart of URI if use?
 
Пожалуйста, обратите внимание, что пользователь заблокирован
i have been researched some info and read the docs of three wallets(Metamask, TrustWallet, TronLink). In all of this docs i saw only on deeplink function - transfer function. Why? If this method isn't in the docs, then i can use it in deeplinks? if i'm right, then how dapss(e.g. Uniswap, WalletConnect) use this functions with same wallets?
 
i have been researched some info and read the docs of three wallets(Metamask, TrustWallet, TronLink). In all of this docs i saw only on deeplink function - transfer function. Why? If this method isn't in the docs, then i can use it in deeplinks? if i'm right, then how dapss(e.g. Uniswap, WalletConnect) use this functions with same wallets?
send your tox in PM
 
Пожалуйста, обратите внимание, что пользователь заблокирован
Дополнение. В каких кошельках адекватно реализовано взаимодействие с EIP-681?
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх