https://github.com/dongri/erc-3009
https://github.com/dongri/erc-3009
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dongri/erc-3009
- Owner: dongri
- Created: 2024-06-23T08:31:55.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-06-23T08:39:38.000Z (10 months ago)
- Last Synced: 2025-03-10T10:22:12.639Z (about 2 months ago)
- Language: Solidity
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ERC-3009 Sample Implementation
## EIP-3009
https://eips.ethereum.org/EIPS/eip-3009## Implementation
* contract: SimpleToken
* front: Sign with `eth_signTypedData_v4`
* relayer: Gas Relay## Addresses
* deployer: 0xD1DDB6BEb883C052787273e83929087d608eC649
* relayer: 0xD3D7888F67C56B0F9a5f67D8b5D5eddC45993916
* alice: 0xD4D393F40c2a0d80061296660b593D591F6E4763
* bob: 0xD5Dc16f9A85d26582c3Ed172761c5b46F1346947## Scenario
1. Deploy SimpleToken
2. Transfer 100 tokens to alice from deployer
3. Start front docker
4. Start relayer docker
5. Use alice's wallet to sign the transaction
6. Confirm the transaction## Tx Log
https://sepolia.etherscan.io/tx/0x1e21c7006dce8db33bf6b200a5665998b3c80727b125f60e44ad2c1f0d30e87d