Tuesday, September 29, 2026
  • Login
SB Crypto Guru News- latest crypto news, NFTs, DEFI, Web3, Metaverse
No Result
View All Result
  • HOME
  • BITCOIN
  • CRYPTO UPDATES
    • GENERAL
    • ALTCOINS
    • ETHEREUM
    • CRYPTO EXCHANGES
    • CRYPTO MINING
  • BLOCKCHAIN
  • NFT
  • DEFI
  • WEB3
  • METAVERSE
  • REGULATIONS
  • SCAM ALERT
  • ANALYSIS
CRYPTO MARKETCAP
  • HOME
  • BITCOIN
  • CRYPTO UPDATES
    • GENERAL
    • ALTCOINS
    • ETHEREUM
    • CRYPTO EXCHANGES
    • CRYPTO MINING
  • BLOCKCHAIN
  • NFT
  • DEFI
  • WEB3
  • METAVERSE
  • REGULATIONS
  • SCAM ALERT
  • ANALYSIS
No Result
View All Result
SB Crypto Guru News- latest crypto news, NFTs, DEFI, Web3, Metaverse
No Result
View All Result

Why swapping token to token uses both ERC-20 approve() and EIP-2612 permit()?

by SB Crypto Guru News
April 16, 2025
in Ethereum
Reading Time: 2 mins read
0 0
A A
0


Why swapping token to token uses both ERC-20 approve() and EIP-2612 permit()?

https://preview.redd.it/sj78j9ut26ve1.png?width=601&format=png&auto=webp&s=ef8dfd77030c36f67507d96ea5b1d485f21eca80

I'm learning smart contracts. As my knowledge, there are two ways to delegate token to others:

1) use an ERC-20 approve(), sign and broadcast the transaction

2) use an EIP-712 offline signature, give the signature to others, when they want to spend my token, they may use permit() and broadcast my signature

But when I tried to use uniswap or pancake to swap some token to another token, I found I have to sign for three times:

1) sign an approve() and broadcast it (for example, as https://basescan.org/tx/0x92deddfa4655d4699f61bfb2140331988b9a283dff54e4ffda984f916460d1d1)

2) sign an permit offlinely

3) sign an swap transaction (for example, https://basescan.org/tx/0x8c66fe05c339ae53a6b3fd26705f76773ae1fc4a965a24949659bcd033fcdf91) and this transaction seems to be used my signature in step 2

My questions are:

1) Why I need to sign a permit after I had already used approve() to give access to my token?

2) Why the swap transaction is broadcasted by my address, rather than the swap contract address?

Thank you for reading my questions!

submitted by /u/Coconut_Usual
[comments]



Source link

Tags: approveBitcoin NewsCrypto NewsCrypto UpdatesEIP2612ERC20Latest News on CryptoPermitSB Crypto Guru NewsSwappingToken
Previous Post

Semler Scientific To Raise $500 Million, Buy More Bitcoin

Next Post

ZKsync Hit by Admin Hack, Attacker Mints 111M Extra Tokens

Related Posts

Join Us: EF Protocol Reddit AMA – September 16th, 2026

by SB Crypto Guru News
September 9, 2026
0

Every year since January 2019, teams from the Ethereum Foundation have spent an afternoon or two on r/ethereum answering questions...

Followup: I built the thing! Added Ethereum-based wealth verification to our app

by SB Crypto Guru News
September 8, 2026
0

Follow up from last week: https://www.reddit.com/r/ethereum/comments/1w633wn/updating_our_wealth_verifications_with_ethereum/ Just went ahead and shipped it. Honestly gotta say it almost felt joyful to...

EF Protocol: Current and Emerging Priorities

by SB Crypto Guru News
September 7, 2026
0

In May, the Protocol cluster welcomed a trio of new cluster coordinators and promised updates to follow. After months of...

EF Protocol: The Hegotá EIP Opinion Post and Tier List

by SB Crypto Guru News
September 7, 2026
0

This is the EF Protocol cluster’s tier list for Hegotá. We evaluated the 62 EIPs proposed for inclusion, each with...

Glamsterdam Repricing Impact for Smart Contract Developers

by SB Crypto Guru News
August 24, 2026
0

TL;DR: The upcoming Glamsterdam upgrade includes a set of gas repricings. EIP-8037 and EIP-8038 (both scheduled for inclusion) adjust the...

Load More
Next Post
ZKsync Hit by Admin Hack, Attacker Mints 111M Extra Tokens

ZKsync Hit by Admin Hack, Attacker Mints 111M Extra Tokens

Crypto Market Rigged? DeFiance Founder Blasts Exchanges Over Price Manipulation

Crypto Market Rigged? DeFiance Founder Blasts Exchanges Over Price Manipulation

  • Trending
  • Comments
  • Latest

Liquid Gets 3,400 BTC Back After On-Chain Talks; White Hats Keep 598.5 BTC

September 7, 2026

Binance Plans Kazakhstan Settlement Hub for CIS and Eastern European Clients

September 7, 2026

Bitcoin Slides As Iran-US Tensions Escalate

September 1, 2026

Aave Governance Weighs Emergency Freeze Powers For Active Exploits

September 8, 2026

Tether Alloy Gold-Backed Reserves Cross $210M

September 7, 2026

Wait for the CFTC to Rewrite the Rules

September 5, 2026

How Much Money Each Generation Is Spending on Fun, Hobbies

0

AlgoQuant Asset Management Selects Liquid Mercury to Enhance Digital Asset Trading Infrastructure

0

Strategy makes first back-to-back Bitcoin buys since June as accumulation picks up

0

Brown Edges Ahead in Ohio Senate Race on Prediction Markets

0

Does Oil Move Bitcoin Price? No and Yes

0

Bitcoin eases into the week as traders watch BTC’s $85k resistance

0

Strategy makes first back-to-back Bitcoin buys since June as accumulation picks up

September 28, 2026

Does Oil Move Bitcoin Price? No and Yes

September 28, 2026

Strive Scoops up 1,107 Bitcoin as Its $2.3B Treasury Expands – Bitcoin News

September 28, 2026

Culture secretary confirms free admission for all at England’s national museums will remain – The Art Newspaper

September 28, 2026

Brown Edges Ahead in Ohio Senate Race on Prediction Markets

September 28, 2026

How Much Money Each Generation Is Spending on Fun, Hobbies

September 28, 2026
Facebook Twitter LinkedIn Tumblr RSS
SB Crypto Guru News- latest crypto news, NFTs, DEFI, Web3, Metaverse

Find the latest Bitcoin, Ethereum, blockchain, crypto, Business, Fintech News, interviews, and price analysis at SB Crypto Guru News.

CATEGORIES

  • Altcoin
  • Analysis
  • Bitcoin
  • Blockchain
  • Crypto Exchanges
  • Crypto Updates
  • DeFi
  • Ethereum
  • Metaverse
  • Mining
  • NFT
  • Regulations
  • Scam Alert
  • Uncategorized
  • Web3

SITE MAP

  • Disclaimer
  • Privacy Policy
  • DMCA
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact us

Copyright © 2022 - SB Crypto Guru News.
SB Crypto Guru News is not responsible for the content of external sites.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • BITCOIN
  • CRYPTO UPDATES
    • GENERAL
    • ALTCOINS
    • ETHEREUM
    • CRYPTO EXCHANGES
    • CRYPTO MINING
  • BLOCKCHAIN
  • NFT
  • DEFI
  • WEB3
  • METAVERSE
  • REGULATIONS
  • SCAM ALERT
  • ANALYSIS

Copyright © 2022 - SB Crypto Guru News.
SB Crypto Guru News is not responsible for the content of external sites.