WeaveVM Precompiles Data Protocol
About the Data Protocol of WeaveVM Precompiled Contracts
Last updated
About the Data Protocol of WeaveVM Precompiled Contracts
Last updated
WeaveVM network have precompiled contracts that push data directly to Arweave as ANS-104 data items. One such precompile is the 0x17
precompile (arweave_upload)
.
The data protocol transactions follow the ANS-104 data item specifications. Each WeaveVM precompile transaction is posted on Arweave, after brotli compression, with the following tags:
Tag Name | Tag Value | Description |
---|---|---|
WeaveVM Reth Precompiles Address: 5JUE58yemNynRDeQDyVECKbGVCQbnX7unPrBRqCPVn5Z
WeaveVM:Precompile
true
Data protocol identifier
Content-Type
application/octet-stream
Arweave data transaction MIME type
WeaveVM:Encoding
Brotli
Transaction's data encoding algorithms
WeaveVM:Precompile-Address
$value
The decimal precompile number (e.g. 0x17 have the Tag Value of 23)