Created
April 9, 2024 23:53
-
-
Save Gozala/88b65a62a9357642fc63aa077632c05d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Multihash : Bytes) | |
(Blob : {:size Integer :digest Multihash }) | |
(blob/add | |
:input {:sub DID :blob Blob } | |
:address (memory/allocate | |
:space .input.sub | |
:blob .input.blob) | |
:content (http/put | |
:url .address.out.ok.url | |
:headers .address.out.ok.headers | |
:body .input.blob) | |
:memory (memory/verify | |
:await .content.out.ok | |
:space .input.sub | |
:body .input.blob) | |
: {:ok {:site .memory.out.ok.site}}) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment