mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 04:39:24 +00:00
Document Instructions and various network's integrations
Tracking issue: https://github.com/serai-dex/serai/issues/57
This commit is contained in:
16
docs/integrations/Ethereum.md
Normal file
16
docs/integrations/Ethereum.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Ethereum
|
||||
|
||||
### Addresses
|
||||
|
||||
Ethereum addresses are 20-byte hashes.
|
||||
|
||||
### In Instructions
|
||||
|
||||
Ethereum In Instructions are present via being appended to the calldata
|
||||
transferring funds to Serai. `origin` is automatically set to the party from
|
||||
which funds are being transferred. For an ERC20, this is `from`. For ETH, this
|
||||
is the caller. `data` is limited to 255 bytes.
|
||||
|
||||
### Out Instructions
|
||||
|
||||
`data` is limited to 255 bytes.
|
||||
Reference in New Issue
Block a user