Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.48 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.48 KB

Quest aos Process

This Process is a list of ao ecosystem projects open for completion. Anyone running aos can Forge a new Quest or Conclude the Quests they have created. Anyone can List the Quests available for completion.

Quest is an aos Process running the quest.lua program included in this directory. The current Process ID for the Quest Process is -

obV9iL-w_K7DOMAV-Ze7dpgdJS3usxXdqz3mZ4Mn_zk

Interacting with Quest

To interact with Quest you must run aos

npm i -g https://get_ao.g8way.io

Once aos is running you can Forge a new Quest, or update your Quest using the below aos command.

Send({ Target = "obV9iL-w_K7DOMAV-Ze7dpgdJS3usxXdqz3mZ4Mn_zk", Tags = { Action = "Forge", Name = "Example Quest", Description = "Create a Quest", Url = "link to your site", Points = "500"}})

Quests are unique by Name so if you send the same same it will update. If you send a name someone else used it will not let you.

Once a Quest has been completed by someone in the real world, you can Conclude it using the below aos command.

Send({ Target = "obV9iL-w_K7DOMAV-Ze7dpgdJS3usxXdqz3mZ4Mn_zk", Tags = { Action = "Conclude", Name = "Example Quest" }})

To List all the available Quests you can send a List Action

Send({ Target = "obV9iL-w_K7DOMAV-Ze7dpgdJS3usxXdqz3mZ4Mn_zk", Tags = { Action = "List" }})

Or if you want a JSON response

Send({ Target = "obV9iL-w_K7DOMAV-Ze7dpgdJS3usxXdqz3mZ4Mn_zk", Tags = { Action = "List", Format = "json" }})