WeaveDrive has been released on AO Testnet, which is great! But how to use it with your process? This post aims to provide a step by step guide on how to use WeaveDrive in your AOS process.
The current availability time is called Assignments
and this type puts WeaveDrive in a mode that allows you to define an Attestor wallet address when you create your AOS process. This will enable the process to load data from dataItems that have a Attestation created by this wallet.
In order, to setup the tutorial for success we need to upload some data and upload an attestation. It will take a few minutes to get mined into a block on arweave.
Install arx
Create a wallet
Create some data
You should get a result like:
Create Attestation
It is important to copy the id of the uploaded dataItem, in the above case
9TIPJD2a4-IleOQJzRwPnDHO5DA891MWAyIdJJ1SiSk
as your Message Value.
:clap: Awesome! That will take a few minutes to get mined on arweave, once it is mined then we will be able to read the data.html dataItem using WeaveDrive
Lets create a new AOS process with WeaveDrive enabled and the wallet we created above as an Attestor.
NOTE: it is important to use the same wallet address that was used to sign the attestation data-item.
NOTE: It does take a few minutes for the data to get 20 plus confirmations which is the treshold for data existing on arweave. You may want to go grab a coffee. :coffee: