Create
Register a program to run on Aleph.im virtual machines.
Warning
At this moment, you can only upload your program as a .zip file. Don't forget to compress them in this format before sending them!
Usage
Import the Store declaration to interact with the Publish function and the Item type to choose your storage location.
Then call the publishProgram function, with the required parameters as follow:
Parameters
Return
After sending your program, you can find it on the Aleph Explorer. This is an example of a Hello world test.
When you are sending a Program Message, the function returns the transaction. Inside it, you can find the item_hash
field that is referring to your program location.
You can "pin" your programs' hashes with a Post message for example with some tags and references to allow you to retrieve them easily.
Last updated