Files
xrpl-dev-portal/docs/img/_sources/address-encoding.uxf

174 lines
3.6 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<diagram program="umlet" version="14.2">
<zoom_level>10</zoom_level>
<element>
<id>UMLObject</id>
<coordinates>
<x>100</x>
<y>340</y>
<w>220</w>
<h>80</h>
</coordinates>
<panel_attributes>Master Public Key
--
33 bytes (secp256k1)
0xED + 32 bytes (Ed25519)</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLObject</id>
<coordinates>
<x>430</x>
<y>340</y>
<w>180</w>
<h>80</h>
</coordinates>
<panel_attributes>Account ID
--
(20 bytes)</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>310</x>
<y>350</y>
<w>140</w>
<h>160</h>
</coordinates>
<panel_attributes>lt=&lt;-
RIPEMD160 of
SHA-256
</panel_attributes>
<additional_attributes>120.0;20.0;10.0;20.0</additional_attributes>
</element>
<element>
<id>UMLObject</id>
<coordinates>
<x>960</x>
<y>320</y>
<w>180</w>
<h>80</h>
</coordinates>
<panel_attributes>Address
--
Type Prefix (1 byte)
AccountID (20 bytes)
Checksum (4 bytes)</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLObject</id>
<coordinates>
<x>430</x>
<y>210</y>
<w>180</w>
<h>80</h>
</coordinates>
<panel_attributes>Type Prefix
--
0x00
("r" in XRPL base58)</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLObject</id>
<coordinates>
<x>670</x>
<y>350</y>
<w>100</w>
<h>70</h>
</coordinates>
<panel_attributes>Checksum
--
(4 bytes)</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>760</x>
<y>360</y>
<w>120</w>
<h>40</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>100.0;10.0;80.0;10.0;80.0;20.0;10.0;20.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>630</x>
<y>290</y>
<w>250</w>
<h>80</h>
</coordinates>
<panel_attributes>lt=&lt;-</panel_attributes>
<additional_attributes>230.0;60.0;210.0;60.0;210.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLState</id>
<coordinates>
<x>860</x>
<y>330</y>
<w>100</w>
<h>60</h>
</coordinates>
<panel_attributes>base58
type=sender</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>630</x>
<y>290</y>
<w>180</w>
<h>80</h>
</coordinates>
<panel_attributes>lt=&lt;-
SHA-256 twice</panel_attributes>
<additional_attributes>60.0;60.0;60.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>Text</id>
<coordinates>
<x>100</x>
<y>210</y>
<w>280</w>
<h>30</h>
</coordinates>
<panel_attributes>*Address Encoding*
style=wordwrap</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>610</x>
<y>200</y>
<w>50</w>
<h>240</h>
</coordinates>
<panel_attributes>lt=..</panel_attributes>
<additional_attributes>10.0;10.0;30.0;10.0;30.0;220.0;10.0;220.0</additional_attributes>
</element>
<element>
<id>Text</id>
<coordinates>
<x>510</x>
<y>300</y>
<w>30</w>
<h>30</h>
</coordinates>
<panel_attributes>+</panel_attributes>
<additional_attributes/>
</element>
</diagram>