prompt
stringlengths
109
265
completion
stringlengths
5
10.8k
This is a Markdown documentation from the AO documentation repository. Filename: aoconnect.md Path: ../ao-cookbook/src/zh/guides/aoconnect/aoconnect.md
--- prev: text: "Utils" link: "zh/guides/aos/modules/utils" next: text: "安装 aoconnect" link: "zh/guides/aoconnect/installing-connect" --- # aoconnect **aoconnect** 是一个用于同 NodeJS系统或浏览器交互的 Javascript/Typescript 库。 本节中的指南提供了如何利用 **aoconnect** 的代码片段。所有的代码片段均用 Javascript 编写,但应该很容易转换为 Typescript。
This is a Markdown documentation from the AO documentation repository. Filename: sending-messages.md Path: ../ao-cookbook/src/zh/guides/aoconnect/sending-messages.md
# Sending a Message to a Process 可以在 [ao Messages](../../concepts/messages.md) 概念中找到关于消息的深入探讨。本指南着重于使用 ao connect 向进程发送消息。 发送消息是你的应用与 ao 交互的核心方式。消息是输入到一个进程的。消息有五个部分你可以指定,分别是“目标(target)”,“数据(data)”,“标签(tags)”,“锚点(anchor)”,以及最后的消息“签名(signature)”。 请参考你的进程模块的源代码或文档,以了解消息如何在其计算中使用。ao connect 库将解析你在下面的代码中传递的参数,构造一个消息,并发送它...
This is a Markdown documentation from the AO documentation repository. Filename: connecting.md Path: ../ao-cookbook/src/zh/guides/aoconnect/connecting.md
# 连接到特定的 ao 节点 在你的代码中包含 **aoconnect** 时,你可以连接到特定的 MU(消息单元)和 CU(计算单元),并能够指定一个 Arweave 网关。这可以通过导入 `connect` 函数并从对 `connect` 函数的调用中提取函数来完成。 你希望了解在发送你的消息时调用了哪个 MU,以便稍后可以从指定的 MU 进行调试。你也可能想要从特定的 CU 读取结果。事实上,你可能出于某种其他原因偏好某个特定的 MU 和 CU。你可以指定其他的网关,默认的网关是即 :arweave.net ## aoconnect 的导入 ```js // Here aoconnect will implicitly...
This is a Markdown documentation from the AO documentation repository. Filename: specs.md Path: ../ao-cookbook/src/zh/concepts/specs.md
# ao 规范 ## 什么是 `ao` ? `ao` 计算机是一个 [actor oriented](https://en.wikipedia.org/wiki/Actor_model) 的机器,它产生于遵守其核心数据协议的节点网络,运行在 [Arweave](https://arweave.org) 网络上。 本文档简要介绍了该协议及其功能以及技术细节,以便构建者可以创建与其集成的新实现和服务。 `ao` 计算机是一个单一的、统一的计算环境([单系统映像](https://en.wikipedia.org/wiki/Single_system_image)),托管在分布式网络中的一组异构节点上。 `ao` 旨在提供一个环境,...
This is a Markdown documentation from the AO documentation repository. Filename: holographic-state.md Path: ../ao-cookbook/src/zh/concepts/holographic-state.md
TODO
This is a Markdown documentation from the AO documentation repository. Filename: lua.md Path: ../ao-cookbook/src/zh/concepts/lua.md
# 走马观花的学习下 Lua 在我们更深入地探索 ao 之前,让我们花点时间学习一下 Lua 的基础知识:你指挥 aos 进程的伙伴。 Lua 是一种简单的语言,没有什么惊喜。 如果你了解 Javascript,你会感觉它是一个简化、更纯粹的版本。 如果你从头开始学习,它看起来像是一门小型语言,专注于重要的事情:使用合理的语法进行极简的计算。 在本节中,我们将在短短几分钟内介绍 Lua 的基础知识。 如果你已经了解 Lua,请直接跳到[下一章](tour.md) ## 跳回到你的 aos 进程 出于本教程的目的,我们假设你已经完成了[入门](/zh/welcome/getting-started) 指南。 如果没有,请先完...
This is a Markdown documentation from the AO documentation repository. Filename: index.md Path: ../ao-cookbook/src/zh/concepts/index.md
--- prev: text: "监控 Cron" link: "/zh/guides/aoconnect/monitoring-cron" next: text: "规范" link: "./specs" --- # 概念 ao在设计中内置了很多概念,但核心概念都是非常简单的原则: - 两种核心类型:消息和进程 - 没有共享状态,只有全息状态 - 去中心化计算机(网格) 下面是一组概念文档,将 ao 系统分解为不同的部分。 - [规范](specs) - [进程](processes) - [消息](messages) - [单元](units) - [消息传递的工作原理](how-it-works) ...
This is a Markdown documentation from the AO documentation repository. Filename: processes.md Path: ../ao-cookbook/src/zh/concepts/processes.md
# 进程 进程之间具有通过消息传递进行通信的能力,包括在网络内接收和发送消息。 此外,它们还具有实例化更多进程的潜力,从而增强网络的计算结构。这种网络内数据传播和交互的动态方法被称为 `全息状态`,支撑网络状态的共享和持久化。 ![流程图](process-diagram.png) 当使用 `aos` 构建进程时,你可以添加`处理程序`(`handlers`),可以通过调用 `Handlers.add` 函数并传递 “name”、“match”函数和“handle”函数来添加这些处理程序。 ![处理程序图](handler-diagram.png) 核心模块包含一个注入到处理函数中的帮助程序库,该库称为 `ao`。 ``...
This is a Markdown documentation from the AO documentation repository. Filename: tour.md Path: ../ao-cookbook/src/zh/concepts/tour.md
# aos 简明教程 欢迎来到 aos 快速入门!本教程将引导你了解 aos 环境中可用的关键全局函数和变量,让你对如何有效地与 aos 交互和使用有基本的了解。 ## 1.收件箱(Inbox)简介 - **它是什么**:`Inbox` 是一个 Lua 表,用于存储进程收到但尚未处理的所有消息。 - **如何使用**:直接输入 `Inbox` 可以查看传入的消息。 迭代 `Inbox[x]` 来处理这些消息。 ## 2. 使用 `Send(Message)` 发送消息 - **功能**:`Send(Message)` 是一个向其他进程发送消息的全局函数。 - **使用示例**:`Send({Target = "...", ...
This is a Markdown documentation from the AO documentation repository. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
# 单元 <svg width="100%" height="472" viewBox="0 0 830 472" fill="none" xmlns="http://www.w3.org/2000/svg"> <g clip-path="url(#clip0_238_127)"> <rect x="0.5" y="0.5" width="409" height="445" rx="9.5" fill="#E6E6E6"></rect> <rect x="0.5" y="0.5" width="409" height="445" rx="9.5" stroke="#CACACA"></rect> <rect x="10" y="1...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
678C95.1328 221.311 95.2129 220.982 95.373 220.693C95.5371 220.404 95.75 220.16 96.0117 219.961C96.2734 219.762 96.5703 219.611 96.9023 219.51C97.2344 219.404 97.5684 219.352 97.9043 219.352C98.2754 219.352 98.6328 219.414 98.9766 219.539C99.3203 219.66 99.625 219.832 99.8906 220.055C100.156 220.277 100.369 220.547 100...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
.48 117.725 221.688 117.662 221.906C117.6 222.125 117.555 222.348 117.527 222.574C117.5 222.801 117.486 223.02 117.486 223.23V224.232C117.49 224.447 117.508 224.67 117.539 224.9C117.574 225.127 117.627 225.35 117.697 225.568C117.768 225.787 117.857 225.994 117.967 226.189C118.076 226.385 118.209 226.557 118.365 226.705...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
352 226.24 273.271 225.906 273.26 225.539H274.367C274.402 225.805 274.475 226.041 274.584 226.248C274.693 226.451 274.834 226.623 275.006 226.764C275.178 226.908 275.375 227.018 275.598 227.092C275.824 227.162 276.07 227.197 276.336 227.197C276.547 227.197 276.754 227.172 276.957 227.121C277.164 227.066 277.348 226.982...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
.445 306.289 221.227C306.113 221.004 305.896 220.824 305.639 220.688C305.455 220.586 305.25 220.508 305.023 220.453C304.797 220.395 304.549 220.363 304.279 220.359H303.406ZM314.979 219.469L314.99 225.246C314.99 225.645 314.92 226.018 314.779 226.365C314.639 226.713 314.445 227.016 314.199 227.273C313.953 227.535 313.66...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
13.8005 432.061 13.9209C431.94 14.0413 431.839 14.1813 431.758 14.3408C431.68 14.5003 431.616 14.6696 431.567 14.8486C431.519 15.0277 431.483 15.2116 431.46 15.4004C431.44 15.5859 431.431 15.7666 431.431 15.9424V16.9434C431.431 17.1191 431.44 17.3014 431.46 17.4902C431.483 17.6758 431.519 17.8581 431.567 18.0371C431.61...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
.8971 451.875 12.9476 452.158 13.042C452.445 13.1364 452.695 13.2731 452.91 13.4521C453.125 13.6312 453.294 13.8525 453.418 14.1162C453.545 14.3799 453.608 14.6826 453.608 15.0244C453.608 15.3662 453.545 15.6689 453.418 15.9326C453.294 16.193 453.125 16.4128 452.91 16.5918C452.695 16.7708 452.445 16.9076 452.158 17.002...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
499.277 44.3691 499.277 44.7793C499.277 45.1895 499.201 45.5527 499.049 45.8691C498.9 46.1816 498.697 46.4453 498.439 46.6602C498.182 46.875 497.881 47.0391 497.537 47.1523C497.197 47.2656 496.836 47.3242 496.453 47.3281H494.771ZM494.771 46.4375H496.453C496.703 46.4336 496.934 46.3945 497.145 46.3203C497.355 46.2422 49...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
688 45.584 508.674 45.793 508.67 45.9922V46.9766C508.674 47.1758 508.688 47.3867 508.711 47.6094C508.738 47.832 508.781 48.0508 508.84 48.2656C508.898 48.4844 508.975 48.6934 509.068 48.8926C509.162 49.0918 509.279 49.2656 509.42 49.4141C509.561 49.5664 509.727 49.6875 509.918 49.7773C510.109 49.8672 510.332 49.9121 51...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
1016C532.689 42.1016 533.047 42.1641 533.391 42.2891C533.734 42.4102 534.039 42.582 534.305 42.8047C534.57 43.0273 534.783 43.2969 534.943 43.6133C535.104 43.9297 535.188 44.2832 535.195 44.6738H534.082C534.051 44.4277 533.99 44.2051 533.9 44.0059C533.811 43.8027 533.691 43.6289 533.543 43.4844C533.395 43.3398 533.217 ...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
426 48.9648 542.34 49.2988 542.168 49.584C542 49.8691 541.781 50.1055 541.512 50.293C541.242 50.4844 540.938 50.6289 540.598 50.7266C540.258 50.8203 539.918 50.8672 539.578 50.8672C539.172 50.8672 538.771 50.7988 538.377 50.6621C537.986 50.5254 537.646 50.3281 537.357 50.0703C537.1 49.8477 536.895 49.5879 536.742 49.29...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
46.0039C707.607 45.6992 707.633 45.3926 707.68 45.084C707.73 44.7715 707.809 44.4707 707.914 44.1816C708.016 43.8926 708.145 43.623 708.301 43.373C708.461 43.1191 708.65 42.8965 708.869 42.7051C709.088 42.5176 709.338 42.3711 709.619 42.2656C709.904 42.1562 710.223 42.1016 710.574 42.1016C710.926 42.1016 711.244 42.156...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
.969 47.9609 716.012 48.1797 716.07 48.3945C716.129 48.6133 716.205 48.8184 716.299 49.0098C716.393 49.2012 716.512 49.3691 716.656 49.5137C716.801 49.6621 716.971 49.7793 717.166 49.8652C717.361 49.9473 717.59 49.9883 717.852 49.9883C718.137 49.9883 718.383 49.9434 718.59 49.8535C718.801 49.7637 718.979 49.6367 719.12...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
43.7324 736.994 43.4434C737.158 43.1543 737.371 42.9102 737.633 42.7109C737.895 42.5117 738.191 42.3613 738.523 42.2598C738.855 42.1543 739.189 42.1016 739.525 42.1016C739.896 42.1016 740.254 42.1641 740.598 42.2891C740.941 42.4102 741.246 42.582 741.512 42.8047C741.777 43.0273 741.99 43.2969 742.15 43.6133C742.311 43....
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
7871 497.537 77.9004C497.881 78.0137 498.182 78.1777 498.439 78.3926C498.697 78.6074 498.9 78.873 499.049 79.1895C499.201 79.5059 499.277 79.8691 499.277 80.2793C499.277 80.6895 499.201 81.0527 499.049 81.3691C498.9 81.6816 498.697 81.9453 498.439 82.1602C498.182 82.375 497.881 82.5391 497.537 82.6523C497.197 82.7656 4...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
509.156 79.3887 509.062 79.5879C508.969 79.7832 508.895 79.9883 508.84 80.2031C508.781 80.4219 508.738 80.6426 508.711 80.8652C508.688 81.084 508.674 81.293 508.67 81.4922V82.4766C508.674 82.6758 508.688 82.8867 508.711 83.1094C508.738 83.332 508.781 83.5508 508.84 83.7656C508.898 83.9844 508.975 84.1934 509.068 84.392...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
78.6543 530.164 78.4102 530.426 78.2109C530.688 78.0117 530.984 77.8613 531.316 77.7598C531.648 77.6543 531.982 77.6016 532.318 77.6016C532.689 77.6016 533.047 77.6641 533.391 77.7891C533.734 77.9102 534.039 78.082 534.305 78.3047C534.57 78.5273 534.783 78.7969 534.943 79.1133C535.104 79.4297 535.188 79.7832 535.195 80...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
957 541.303 82.1328 541.564 82.3477C541.822 82.5469 542.029 82.791 542.186 83.0801C542.346 83.3691 542.426 83.7031 542.426 84.082C542.426 84.4648 542.34 84.7988 542.168 85.084C542 85.3691 541.781 85.6055 541.512 85.793C541.242 85.9844 540.938 86.1289 540.598 86.2266C540.258 86.3203 539.918 86.3672 539.578 86.3672C539.1...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
rect> <path d="M694.771 82.8281V86.25H693.688V77.7188H696.453C696.836 77.7266 697.197 77.7871 697.537 77.9004C697.881 78.0137 698.182 78.1777 698.439 78.3926C698.697 78.6074 698.9 78.873 699.049 79.1895C699.201 79.5059 699.277 79.8691 699.277 80.2793C699.277 80.6895 699.201 81.0527 699.049 81.3691C698.9 81.6816 698.697...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
6133 709.912 78.7031C709.721 78.793 709.555 78.9121 709.414 79.0605C709.273 79.2129 709.156 79.3887 709.062 79.5879C708.969 79.7832 708.895 79.9883 708.84 80.2031C708.781 80.4219 708.738 80.6426 708.711 80.8652C708.688 81.084 708.674 81.293 708.67 81.4922V82.4766C708.674 82.6758 708.688 82.8867 708.711 83.1094C708.738 ...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
547 80.2949 729.547 79.9277C729.547 79.5605 729.627 79.2324 729.787 78.9434C729.951 78.6543 730.164 78.4102 730.426 78.2109C730.688 78.0117 730.984 77.8613 731.316 77.7598C731.648 77.6543 731.982 77.6016 732.318 77.6016C732.689 77.6016 733.047 77.6641 733.391 77.7891C733.734 77.9102 734.039 78.082 734.305 78.3047C734.5...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
81.4043 739.748 81.4629C740.064 81.5605 740.381 81.6797 740.697 81.8203C741.014 81.957 741.303 82.1328 741.564 82.3477C741.822 82.5469 742.029 82.791 742.186 83.0801C742.346 83.3691 742.426 83.7031 742.426 84.082C742.426 84.4648 742.34 84.7988 742.168 85.084C742 85.3691 741.781 85.6055 741.512 85.793C741.242 85.9844 74...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
C439.565 134.054 439.302 134.098 439.009 134.098C438.716 134.098 438.451 134.054 438.213 133.966C437.979 133.875 437.77 133.751 437.588 133.595C437.406 133.438 437.248 133.256 437.114 133.048C436.981 132.836 436.872 132.61 436.787 132.369C436.699 132.128 436.634 131.879 436.592 131.622C436.549 131.365 436.527 131.109 4...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
132.683 455.967 132.833C456.084 132.983 456.23 133.103 456.406 133.194C456.585 133.285 456.79 133.331 457.021 133.331C457.253 133.331 457.456 133.287 457.632 133.199C457.808 133.108 457.956 132.986 458.076 132.833C458.193 132.683 458.283 132.511 458.345 132.315C458.407 132.12 458.441 131.917 458.447 131.705L458.462 126...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
799C513.145 163.088 513.014 163.357 512.854 163.607C512.697 163.857 512.51 164.076 512.291 164.264C512.072 164.451 511.82 164.6 511.535 164.709C511.254 164.814 510.938 164.867 510.586 164.867C510.234 164.867 509.916 164.814 509.631 164.709C509.35 164.6 509.1 164.451 508.881 164.264C508.662 164.076 508.473 163.857 508.3...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
515.918 159.453 515.906 159.67 515.906 159.881V161.082C515.906 161.293 515.918 161.512 515.941 161.738C515.969 161.961 516.012 162.18 516.07 162.395C516.129 162.613 516.205 162.818 516.299 163.01C516.393 163.201 516.512 163.369 516.656 163.514C516.801 163.662 516.971 163.779 517.166 163.865C517.361 163.947 517.59 163.9...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
.777 157.027 541.99 157.297 542.15 157.613C542.311 157.93 542.395 158.283 542.402 158.674H541.289C541.258 158.428 541.197 158.205 541.107 158.006C541.018 157.803 540.898 157.629 540.75 157.484C540.602 157.34 540.424 157.229 540.217 157.15C540.014 157.068 539.783 157.027 539.525 157.027C539.318 157.027 539.115 157.057 5...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
C697.355 160.242 697.539 160.133 697.695 159.992C697.852 159.852 697.973 159.682 698.059 159.482C698.148 159.279 698.193 159.049 698.193 158.791C698.193 158.533 698.148 158.301 698.059 158.094C697.973 157.887 697.854 157.711 697.701 157.566C697.545 157.422 697.359 157.311 697.145 157.232C696.934 157.154 696.703 157.113...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
582 162.941 720.43 163.273C720.277 163.602 720.08 163.883 719.838 164.117C719.592 164.355 719.301 164.541 718.965 164.674C718.633 164.803 718.262 164.867 717.852 164.867C717.5 164.867 717.18 164.818 716.891 164.721C716.605 164.619 716.352 164.48 716.129 164.305C715.902 164.129 715.707 163.922 715.543 163.684C715.383 16...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
734.305 164.293C734.035 164.484 733.73 164.629 733.391 164.727C733.051 164.82 732.711 164.867 732.371 164.867C731.965 164.867 731.564 164.799 731.17 164.662C730.779 164.525 730.439 164.328 730.15 164.07C729.893 163.848 729.688 163.588 729.535 163.291C729.387 162.99 729.307 162.656 729.295 162.289H730.402C730.438 162.55...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
756.162 163.443 755.996 163.75 755.773 164.012C755.551 164.277 755.273 164.486 754.941 164.639C754.613 164.791 754.232 164.867 753.799 164.867C753.361 164.867 752.977 164.779 752.645 164.604C752.312 164.428 752.033 164.199 751.807 163.918C751.553 163.609 751.363 163.25 751.238 162.84C751.113 162.426 751.051 162.012 751...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
508.021 198.582 507.92 198.293C507.814 198.004 507.736 197.705 507.686 197.396C507.635 197.088 507.607 196.781 507.604 196.477V195.504C507.607 195.199 507.633 194.893 507.68 194.584C507.73 194.271 507.809 193.971 507.914 193.682C508.016 193.393 508.145 193.123 508.301 192.873C508.461 192.619 508.65 192.396 508.869 192...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
.488 518.383 199.443 518.59 199.354C518.801 199.264 518.979 199.137 519.123 198.973C519.268 198.812 519.383 198.623 519.469 198.404C519.555 198.182 519.615 197.941 519.65 197.684H520.734ZM527.109 196.307H523.547V199.33H527.701V200.25H522.463V191.719H527.648V192.645H523.547V195.387H527.109V196.307ZM534.088 198.094C534.0...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
674 538.547 192.762 538.395 192.879C538.238 192.996 538.113 193.141 538.02 193.312C537.93 193.484 537.885 193.684 537.885 193.91C537.889 194.156 537.951 194.365 538.072 194.537C538.193 194.705 538.348 194.848 538.535 194.965C538.719 195.082 538.918 195.18 539.133 195.258C539.352 195.336 539.557 195.404 539.748 195.463C...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
199.357 708.312 199.107C708.152 198.854 708.021 198.582 707.92 198.293C707.814 198.004 707.736 197.705 707.686 197.396C707.635 197.088 707.607 196.781 707.604 196.477V195.504C707.607 195.199 707.633 194.893 707.68 194.584C707.73 194.271 707.809 193.971 707.914 193.682C708.016 193.393 708.145 193.123 708.301 192.873C70...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
.59 199.488 717.852 199.488C718.137 199.488 718.383 199.443 718.59 199.354C718.801 199.264 718.979 199.137 719.123 198.973C719.268 198.812 719.383 198.623 719.469 198.404C719.555 198.182 719.615 197.941 719.65 197.684H720.734ZM727.109 196.307H723.547V199.33H727.701V200.25H722.463V191.719H727.648V192.645H723.547V195.387...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
115 192.557 738.916 192.615C738.721 192.674 738.547 192.762 738.395 192.879C738.238 192.996 738.113 193.141 738.02 193.312C737.93 193.484 737.885 193.684 737.885 193.91C737.889 194.156 737.951 194.365 738.072 194.537C738.193 194.705 738.348 194.848 738.535 194.965C738.719 195.082 738.918 195.18 739.133 195.258C739.352 ...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
.404 193.748 755.367 193.551 755.293 193.371C755.223 193.191 755.125 193.035 755 192.902C754.871 192.773 754.719 192.674 754.543 192.604C754.367 192.529 754.174 192.492 753.963 192.492C753.752 192.492 753.561 192.527 753.389 192.598C753.217 192.664 753.068 192.762 752.943 192.891C752.818 193.02 752.721 193.176 752.65 1...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
.5 194.5L422.5 193.5L186.5 193.5L186.5 194.5Z" fill="#753800"></path> <path d="M625 204L622.113 209L627.887 209L625 204ZM625 250L627.887 245L622.113 245L625 250ZM624.5 208.5L624.5 245.5L625.5 245.5L625.5 208.5L624.5 208.5Z" fill="#FF7A00"></path> <path d="M624 466L629 468.887L629 463.113L624 466ZM664 466L659 463.113L65...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
34 465.643 687.387 465.334C687.438 465.021 687.516 464.721 687.621 464.432C687.723 464.143 687.852 463.873 688.008 463.623C688.168 463.369 688.357 463.146 688.576 462.955C688.795 462.768 689.045 462.621 689.326 462.516C689.611 462.406 689.93 462.352 690.281 462.352C690.633 462.352 690.951 462.406 691.236 462.516C691.52...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md Note: This content continues in the next part.
462.834 713.953 463.061C714.203 463.291 714.404 463.568 714.557 463.893C714.709 464.213 714.803 464.572 714.838 464.971H713.766C713.723 464.725 713.656 464.498 713.566 464.291C713.477 464.08 713.359 463.9 713.215 463.752C713.066 463.604 712.891 463.488 712.688 463.406C712.484 463.32 712.248 463.277 711.979 463.277C711....
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: units.md Path: ../ao-cookbook/src/zh/concepts/units.md
467.859C809.859 468.082 809.902 468.301 809.961 468.516C810.02 468.734 810.096 468.943 810.189 469.143C810.283 469.342 810.4 469.516 810.541 469.664C810.682 469.816 810.848 469.938 811.039 470.027C811.23 470.117 811.453 470.162 811.707 470.162C811.961 470.162 812.184 470.117 812.375 470.027C812.57 469.938 812.738 469.8...
This is a Markdown documentation from the AO documentation repository. Filename: messages.md Path: ../ao-cookbook/src/zh/concepts/messages.md
# 消息 消息作为 ao 中的基本数据协议单元,依据 [ANS-104 DataItems](https://specs.g8way.io/?tx=xwOgX-MmqN5_-Ny_zNu2A8o-PnTGsoRb_3FrtiMAkuw) 制作而成,从而与 Arweave 的原生结构保持一致。 当消息体进入进程时,其结构如下: ```lua { Cron = false, Data = "Hello aos", Epoch = 0, From = "5WzR7rJCuqCKEq02WUPhTjwnzllLjGu6SA7qhYpcKRs", Id = "ayVo53qvZswpvxLlhMf8...
This is a Markdown documentation from the AO documentation repository. Filename: how-it-works.md Path: ../ao-cookbook/src/zh/concepts/how-it-works.md
# ao 信使的工作原理 在我们深入了解 ao 之前,我想与你分享一些有关 UNIX 的信息。 Unix 是一个功能强大的操作系统,但在其设计中它专注于两种主要 `“类型”`。 文件和程序。 文件是数据,程序是逻辑,当你将两者结合起来时,你就会得到信息。 `Input.file | TransformProgram | Output.file` 你可能在命令行上做了类似的事情,但不知道自己在做什么。 能够将文件连接到程序并返回文件,然后将其传递给其他程序,从而创建一个由简单应用程序组成的复杂系统。 这是一个非常牛逼的想法。 现在,我们来讨论 `ao` 即超并行计算机,并将文件更改为 `ao` 概念下的消息,将程序更改为 `a...
This is a Markdown documentation from the AO documentation repository. Filename: index.md Path: ../ao-cookbook/src/ja/index.md
--- # https://vitepress.dev/reference/default-theme-home-page layout: home hero: name: "" # text: "The hyper parallel computer." text: "ハイパーパラレルコンピュータ" # tagline: "Decentralized compute at any scale. Only possible on Arweave." tagline: "あらゆるスケールでの非中央集権コンピューティング。Arweave上でのみ実現可能。" actions: - theme: brand...
This is a Markdown documentation from the AO documentation repository. Filename: llms-explanation.md Path: ../ao-cookbook/src/ja/llms-explanation.md
--- layout: doc title: LLMs ファイルドキュメント --- # LLMs ファイルドキュメント ## **[llms.txt](/ja/llms.txt)**: - ao エコシステムの構造化された概要。 - ドキュメントをナビゲートしたり一般的な質問に答えたりする AI ツールに最適。 - ウェブ検索機能を持つ AI エージェントに適しています。 ## **[llms-full.txt](/ja/llms-full.txt)**: - 完全な技術ドキュメント。 - 詳細な分析、トラブルシューティング、またはチャットボット統合用に設計。 - 複雑なクエリに対して詳細な情報を提供します。 ::: ...
This is a Markdown documentation from the AO documentation repository. Filename: index.md Path: ../ao-cookbook/src/ja/tutorials/index.md
--- prev: text: "legacynet Info" link: "/welcome/legacynet-info" next: text: "Begin" link: "./begin/index" --- <!-- # Tutorials --> <!-- Here, we've created a series of tutorials to help you get started with aos and build your first processes. These tutorials include interactive guides, code snippets, and exa...
This is a Markdown documentation from the AO documentation repository. Filename: ao-effect.md Path: ../ao-cookbook/src/ja/tutorials/bots-and-games/ao-effect.md Note: This content continues in the next part.
--- prev: text: "Bots and Games" link: "./index" --- # ゲームをプレイしよう! チュートリアルを通過してきたあなたは素晴らしい!さあ、リフレッシュの時間を持ち、興奮することに飛び込んでみましょう。学びの旅に楽しい要素を加えるゲームはいかがですか? ![AO-Effect Game Banner](/ao-effect-game-banner.png) ## ゲームとは? `ao-effect` は、友達や他のプレイヤーとリアルタイムで競い合えるゲームです。ターミナルから直接参加できます。この冒険のために、グローバルゲームプロセスを設定しました。 ルールは簡単で...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: ao-effect.md Path: ../ao-cookbook/src/ja/tutorials/bots-and-games/ao-effect.md
sending the following message to the game: --> ```lua Send({ Target = Game, Action = "RequestTokens"}).receive().Data -- Expected Result -- You received 10000000 from a1b2C3d4e5F6g7h8IjkLm0nOpqR8s7t6U5v4w3X2y1z ``` > [!NOTE] > The `.receive().Data` will wait for a response by adding a temporary [Handler](../../ref...
This is a Markdown documentation from the AO documentation repository. Filename: attacking.md Path: ../ao-cookbook/src/ja/tutorials/bots-and-games/attacking.md
# 自動応答 前回の[ガイド](decisions)を経て、私たちの創造物は単純なボットから洗練された自律エージェントへと進化しました。今回は、カウンターアタック機能を追加してその能力をさらに強化し、相手の攻撃に対して即座に反撃できるようにします。これにより、相手が安全な場所に逃げる前に驚かせる可能性があります。 ## コードを書く 次のハンドラーを`bot.lua`ファイルに追加すれば準備完了です。 <!-- # Automated Responses Following our [last guide](decisions), our creation has progressed from a simple bot ...
This is a Markdown documentation from the AO documentation repository. Filename: arena-mechanics.md Path: ../ao-cookbook/src/ja/tutorials/bots-and-games/arena-mechanics.md Note: This content continues in the next part.
# アリーナのメカニクス このガイドでは、`aos`におけるアリーナスタイルのゲームを設計および管理するために必要な基本的なメカニクスの包括的な概要を提供します。アリーナゲームでは、参加者がラウンドごとに戦略的に競い合い、最終的に唯一の勝者が出るまで互いに排除していきます。 ここで示すフレームワークは、同じコア機能を共有するさまざまなゲームを作成するための基盤を提供します。ゲーム開発の詳細を探求し、この多目的アリーナの中で創造性を発揮しましょう。 ## コア機能 それでは、アリーナスタイルのゲームを支えるコア機能に dive してみましょう。 1. **ゲーム進行モード:** アリーナゲームは、以下の進行モードでループす...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: arena-mechanics.md Path: ../ao-cookbook/src/ja/tutorials/bots-and-games/arena-mechanics.md Note: This content continues in the next part.
of the bonus tokens, as well as their original stake, further motivating players to strive for victory. 6. **Listener Mode:** For those who prefer to watch the action unfold, the "Listen" mode offers an opportunity to stay informed without active participation. Processes can register as listeners, granting them acce...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: arena-mechanics.md Path: ../ao-cookbook/src/ja/tutorials/bots-and-games/arena-mechanics.md
-- Handler for cron messages, manages game state transitions. Handlers.add( "Game-State-Timers", function(Msg) return "continue" end, function(Msg) Now = Msg.Timestamp if GameMode == "Not-Started" then startWaitingPeriod() elseif GameMode == "Waiting" then ...
This is a Markdown documentation from the AO documentation repository. Filename: index.md Path: ../ao-cookbook/src/ja/tutorials/bots-and-games/index.md
--- prev: text: "Tokengating" link: "../begin/tokengating" next: text: "Let's Play A Game!" link: "./ao-effect" --- <!-- # Bots and Games --> # ボットとゲーム <!-- > Build your own unique bot to complete Quest 3 and earn 1000 CRED, then enter games like the [Grid](https://github.com/twilson63/grid) to earn legacyne...
This is a Markdown documentation from the AO documentation repository. Filename: announcements.md Path: ../ao-cookbook/src/ja/tutorials/bots-and-games/announcements.md
# お知らせの解釈 コーディングの旅にお帰りなさい。これまでのチュートリアルで習得したスキルを使って、ゲーム体験を向上させる時が来ました。 ゲーム中、ターミナルにお知らせが表示されるのに気づいたかもしれません。これらのお知らせは、ゲームがプレイヤーに重要なイベントを伝える方法です。しかし、これらのメッセージは時に難解に見えたり、さらなる詳細を知るために頻繁に受信箱をチェックしている自分に気づくかもしれません。 この情報を直接ターミナルからアクセスできたら便利ではありませんか?実は、それができる方法があります! [ハンドラ](/references/handlers.md)を使うことで、この情報を取得する自律エージェントを作成...
This is a Markdown documentation from the AO documentation repository. Filename: bringing-together.md Path: ../ao-cookbook/src/ja/tutorials/bots-and-games/bringing-together.md Note: This content continues in the next part.
# Bringing it Together この最終ガイドでは、シリーズを締めくくります。ここでは、あなたが自律エージェントを少しずつ構築してきました。さて、エージェントの動作を最適化することで、その精度を高めていきましょう。ここでは、主な改善点の概要を示します。 - **順次コマンド実行:** `InAction`フラグの導入により、エージェントのアクションが順次実行されるようになりました(前のアクションが成功裏に実行されたときのみ次のアクションが発生します)。この重要な追加により、エージェントが古いゲーム状態に基づいて行動することが防止され、反応性と正確性が向上しました。最終的な`bot.lua`ファイルのコードは以下に示...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: bringing-together.md Path: ../ao-cookbook/src/ja/tutorials/bots-and-games/bringing-together.md
.gray .. "Getting game state..." .. colors.reset) ao.send({Target = Game, Action = "GetGameState"}) else print("Previous action still in progress. Skipping.") end end ) -- Handler to automate payment confirmation when waiting period starts. Handlers.add( "AutoPay", { Action = "AutoPay" }, ...
This is a Markdown documentation from the AO documentation repository. Filename: decisions.md Path: ../ao-cookbook/src/ja/tutorials/bots-and-games/decisions.md
<!-- # Strategic Decicions With the [latest game state](game-state) at your disposal, your bot can evolve into an `autonomous agent`. This transition marks an upgrade in functionality, enabling not just reactions to game states but strategic actions that consider context, energy, and proximity to make decisions. ## W...
This is a Markdown documentation from the AO documentation repository. Filename: build-game.md Path: ../ao-cookbook/src/ja/tutorials/bots-and-games/build-game.md Note: This content continues in the next part.
--- next: text: "Guides" link: "/guides/index" --- # アリーナの拡張 第2章の最終ガイドへようこそ。ここでは、前回のチュートリアルで紹介したアリーナフレームワークの上に自分自身のゲームを構築する方法を学びます。このガイドでは、章の初めに体験した["ao-effect"ゲーム](ao-effect)の作成プロセスを説明します。例を進めることで、ゲームのロジックを構造化し、アリーナのコアコードと対話する方法について洞察を得ることができます。 経験豊富な開発者でも、新しいゲームクリエイターでも、このガイドはあなたの創造性を発揮し、`aos`環境内でユニークなゲームアイデアを...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: build-game.md Path: ../ao-cookbook/src/ja/tutorials/bots-and-games/build-game.md Note: This content continues in the next part.
, Action = "Move-Failed", Reason = "Invalid direction."}) end onTick() -- Optional: Update energy each move end ``` `move`関数は、選択した方向に基づいて新しいプレイヤーの座標を計算し、プレイヤーがグリッドの境界内に留まることを保証します。プレイヤーの移動は、ゲームに動的なインタラクションを追加し、すべてのプレイヤーとリスナーに通知されます。 ### プレイヤーの攻撃 次に、プレイヤーの攻撃に関するロジックを実装する必要があります: <!-- The `move` function cal...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: build-game.md Path: ../ao-cookbook/src/ja/tutorials/bots-and-games/build-game.md
direction."}) end onTick() -- Optional: Update energy each move end -- Handles player attacks -- @param msg: Message request sent by player with attack info and player state function attack(msg) local player = msg.From local attackEnergy = tonumber(msg.Tags.AttackEnergy) -- get player coordinate...
This is a Markdown documentation from the AO documentation repository. Filename: game-state.md Path: ../ao-cookbook/src/ja/tutorials/bots-and-games/game-state.md Note: This content continues in the next part.
# ゲーム状態の取得 今、あなたはゲームの発表が直接端末に表示されるのを見ており、ゲームのダイナミクスをよりよく理解できるようになっています。しかし、これらの洞察はゲーム内で発生する特定のアクションに限られています。 すべてのプレイヤーの位置、健康、エネルギーなど、包括的なゲームデータにオンデマンドでアクセスできるとしたら、より便利ではありませんか?この情報は、脅威、機会、タイミングをより効果的に評価するのに役立ち、戦略的計画を大幅に改善できるでしょう。 前回のガイドで作成したボットに別のハンドラーを追加することを考えたなら、あなたは絶対に正しいです! ## コードを書く `bot.lua`ファイルに戻り、既存のハンドラー...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: game-state.md Path: ../ao-cookbook/src/ja/tutorials/bots-and-games/game-state.md
(msg.Data) ao.send({Target = ao.id, Action = "UpdatedGameState"}) print("Game state updated. Print \'LatestGameState\' for detailed view.") end ) ``` </details> ## ローディングとテスト いつものように、この新機能をテストするために、次のようにしてファイルをあなたのaosプレイヤー端末にロードします: <!-- ## Loading and Testing As usual, to test this new feature, load the file ...
This is a Markdown documentation from the AO documentation repository. Filename: chatroom.md Path: ../ao-cookbook/src/ja/tutorials/begin/chatroom.md Note: This content continues in the next part.
# aosでチャットルームを構築する ::: info もし、`ao` 内でチャットルームを作成する方法を学びたいと思っているなら、メッセージの送受信に関する基本的な手法を少なくとも理解していることを意味します。まだ理解していない場合は、先に [メッセージング](messaging) のチュートリアルを確認することをお勧めします。 ::: このチュートリアルでは、Luaスクリプト言語を使用して `ao` 内にチャットルームを構築します。このチャットルームには、次の2つの主要な機能が備わっています: 1. **登録**: プロセスがチャットルームに参加できるようにする機能。 2. **ブロードキャスト**: 1つのプロセスか...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: chatroom.md Path: ../ao-cookbook/src/ja/tutorials/begin/chatroom.md Note: This content continues in the next part.
ラが読み込まれたか確認します: <!-- 2. **Reload and Test:** Let's reload and test the script by registering ourselves to the chatroom. - Save and reload the script in aos using `.load chatroom.lua`. - Check to see if the register handler loaded with the following script: --> ```lua Handlers.list ``` ![Checking the Handlers...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: chatroom.md Path: ../ao-cookbook/src/ja/tutorials/begin/chatroom.md
! Join my chatroom by sending this command in your aos environment: Send({ Target = [Your Process ID], Action = "Register" }) -- Then, you can broadcast messages using: Send({Target = [Your Process ID], Action = "Broadcast", Data = "Your Message" }) ``` <!-- ## Next Steps Congratulations! You've successfully built a ...
This is a Markdown documentation from the AO documentation repository. Filename: preparations.md Path: ../ao-cookbook/src/ja/tutorials/begin/preparations.md Note: This content continues in the next part.
# 準備 ::: info **目覚めの始まり:** この世界には、あなたの手の届かないところにもっと多くのものがあることをずっと知っていました。あなたはそれを探し続けてきましたが、自分が何を探しているのかすら分かりませんでした。それは... `ao` です。 私たちの旅は `aos` クライアントをインストールし、新しいプロセスを開始することから始まります。これにより、ao コンピュータと対話し、チュートリアルの残りを完了することができるようになります。 ::: ## ビデオチュートリアル <iframe width="680" height="350" src="https://www.youtube.com/embe...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: preparations.md Path: ../ao-cookbook/src/ja/tutorials/begin/preparations.md
::: info もしあなたのOSバージョンが最新バージョンと異なる場合、バージョンを更新するかどうかを尋ねるメッセージが表示されます。その場合は、"Ctrl+C" を2回押してプロセスを終了し、`npm i -g https://get_ao.g8way.io` を実行して更新し、再度 `aos` を実行してください。 ::: aoコンピュータの新しいホームへようこそ!今見ているプロンプトは、この分散型マシンのあなた自身の個人サーバーです。 さあ、[メッセージング](messaging)というaoの2つのコアコンセプトの1つを探求し、ウサギの穴をさらに深く進んでいきましょう。 <!-- Let's walk through ...
This is a Markdown documentation from the AO documentation repository. Filename: token.md Path: ../ao-cookbook/src/ja/tutorials/begin/token.md Note: This content continues in the next part.
# トークンの作成 ::: info `ao`の深みに飛び込む準備が整いました。あなた自身のトークンを作成する準備ができました。これは、この分散型メディア内での価値と交換のシンボルです。トークンの作成方法を学びたいと思っているなら、[Messaging](messaging)や[チャットルームの構築](chatroom)のレッスンを訪れていない場合は、そちらを確認してください。このページは、複数パートのインタラクティブチュートリアルの一部です。 ::: トークンを作成する際には、[トークン仕様](../../references/token.md)に従って、`ao`内でLua言語を使用してトークンをミントします。 ## ビデオ...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: token.md Path: ../ao-cookbook/src/ja/tutorials/begin/token.md
1. Make sure we're in the same directory as before during the previous steps in the tutorial. 2. Open the Terminal. 3. Start your `aos` process. 4. Type in `.load-blueprint token` This will load the required handlers for the tutorials token within `ao`. It's important to note that the token blueprint isn't specific ...
This is a Markdown documentation from the AO documentation repository. Filename: messaging.md Path: ../ao-cookbook/src/ja/tutorials/begin/messaging.md Note: This content continues in the next part.
<script setup> import {onMounted} from "vue" import {renderRepl} from "../../../tools/replRenderer.jsx" const codes = { "step-3": `Send({ Target = "process ID", Data = "Hello World!" })`, "step-4": `Morpheus = "ajrGnUq9x9-K1TY1MSiKwNWhNTbq7-IdtFa33T59b7s"`, "step-4-1": `Morpheus`, "step-5": `Send...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: messaging.md Path: ../ao-cookbook/src/ja/tutorials/begin/messaging.md Note: This content continues in the next part.
`に保存します。 ```lua ajrGnUq9x9-K1TY1MSiKwNWhNTbq7-IdtFa33T59b7s ``` Copy the process ID above and store it as a variable by running the below command in the aos CLI: ```lua Morpheus = "ajrGnUq9x9-K1TY1MSiKwNWhNTbq7-IdtFa33T59b7s" ``` <div id="step-4"></div> これにより、プロセスIDが`Morpheus`という名前の変数として保存され、特定のプロセスIDと対話しやすくなります。 ...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: messaging.md Path: ../ao-cookbook/src/ja/tutorials/begin/messaging.md Note: This content continues in the next part.
from one process to another. I am here. You are finally awake. Are you ready to see how far the rabbit hole goes? ``` あなたは現在、自分のプロセスを使って、aoで実行されている別の並行プロセスであるMorpheusと通信しています。次のチュートリアルのステップに進む準備が整いました。 ## ステップ7: タグ付きメッセージの送信 **タグの目的**: aosメッセージのタグは、メッセージを効率的に分類、ルーティング、処理するために使用されます。これらはメッセージ処理において重要な役割を果たし、特に複数のプロ...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: messaging.md Path: ../ao-cookbook/src/ja/tutorials/begin/messaging.md
journey. You're now ready to move on to the next step in the tutorial, [Creating a Chatroom](chatroom). -->
This is a Markdown documentation from the AO documentation repository. Filename: index.md Path: ../ao-cookbook/src/ja/tutorials/begin/index.md
--- prev: text: "チュートリアル" link: "../index" next: text: "準備" link: "/tutorials/begin/preparations" --- # 始めよう: インタラクティブチュートリアル このチュートリアルシリーズでは、aos環境の知識と理解を深めるためのインタラクティブなステップを進めていきます。 ::: info ### 演習 この楽しい演習では、モーフィアスとトリニティという二人の親しみのあるキャラクターから提示される一連の課題に挑戦します。モーフィアスの導きに従い、あなたが`the one`であることを証明するための一連の課題に深く入り...
This is a Markdown documentation from the AO documentation repository. Filename: rabbithole.md Path: ../ao-cookbook/src/ja/tutorials/begin/rabbithole.md
# `The Construct`に入る - インタラクティブチュートリアル ![ホワイトラビット](/white_rabbit_outline.svg) ## 目を覚ませ、ネオ... ウサギの穴がどれほど深いか見る準備はできていますか? このインタラクティブチュートリアルでは、これまでに学んだことを活用して、ミッションに取り組みます。 ### ミッション: マトリックスから脱出し、「The Construct」に入る。 The Constructは、ao内のトークンゲートされたチャットルームで、タスクを一連の作業を完了した者のみがアクセスできます。 **さあ、始めましょう。** ::: warning このチュート...
This is a Markdown documentation from the AO documentation repository. Filename: tokengating.md Path: ../ao-cookbook/src/ja/tutorials/begin/tokengating.md Note: This content continues in the next part.
# チャットルームのトークンゲート ::: info `Trinity`にトークンを作成して送信したので、今度はそのトークンを使ってチャットルームをトークンゲートします。これにより、トークンを持っている人のみがチャットルームに入ることができるようになります。 ::: ## 動画チュートリアル <iframe width="680" height="350" src="https://www.youtube.com/embed/VTYmd_E4Igc?si=CEQ0i8qeh33-eJKN" title="YouTube video player" frameborder="0" allow="accelerometer; au...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: tokengating.md Path: ../ao-cookbook/src/ja/tutorials/begin/tokengating.md
chatroom saying, "It is done". --> ```lua Send({ Target = ao.id , Action = "Broadcast", Data = "It is done" }) ``` ::: warning 正確なマッチデータと大文字と小文字の区別に注意することが重要です。モーフィアスやトリニティからの応答がない場合は、データやタグの内容を確認してください。 ::: トリニティは、チャットルームがトークンゲートされたことに応じてメッセージを送信します。 ### 予想される結果: トリニティは、「モーフィアスが正しかったようです。あなたがその人です。私は感心しています。今、あな...
This is a Markdown documentation from the AO documentation repository. Filename: dao.md Path: ../ao-cookbook/src/ja/tutorials/begin/dao.md Note: This content continues in the next part.
# DAO ガイド このガイドでは、aos を使用して DAO を構築するプロセスを説明します。まだ行っていない場合は、最初に aos で [トークン](./token.md) を構築する必要があります。DAO コードを aos に読み込み、[トークン](./token.md) ガイドからトークンコードを読み込む予定です。ao の文脈では、DAO は MU、CU、および SU ノードを統治するために使用されることがあります。 私たちの DAO では、「スラッシング」と呼ばれるプロセスを実装します。ao の場合、ユニットが不正行為を行った場合、他のユニットはそれをスラッシュするために投票することができます。スラッシングとは、彼らが...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: dao.md Path: ../ao-cookbook/src/ja/tutorials/begin/dao.md Note: This content continues in the next part.
] or { yay = 0, nay = 0, deadline = deadline } Votes[target][side] = Votes[target][side] + quantity end ``` ここでは、投票を送信するプロセスまたはユーザーがトークンを持っている場合、Votes テーブルにエントリを追加できます。`side` の yay または nay は、彼らのステークの量に設定されます。例として、"nay" 投票はスラッシュする投票であり、"yay" 投票は維持する投票です。 送信された msg.Tags.Target は、投票される対象を表します。AO の場合、これはメンバーがスラッシュするこ...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: dao.md Path: ../ao-cookbook/src/ja/tutorials/begin/dao.md
クンをステークします。 ```lua Send({ Target = "bclTw5QOm5soeMXoaBfXLvzjheT1_kwc2vLfDntRE4s", Tags = { Action = "Stake", Quantity = '1000', UnstakeDelay = "10" }}) ``` <!-- From the cu aos Process, Stake some tokens --> cu aos プロセスから、いくつかのトークンをステークします。 ```lua Send({ Target = "bclTw5QOm5soeMXoaBfXLvzjheT1_kwc2vLfDntRE4s", Tags ...
This is a Markdown documentation from the AO documentation repository. Filename: cron.md Path: ../ao-cookbook/src/ja/references/cron.md
# Cronメッセージ aoには、指定した間隔でメッセージを生成する機能があります。この間隔は、秒、分、時間、またはブロック単位で設定できます。これらのメッセージは、監視プロセスによって自動的に評価され、時間の経過とともにプロセスがこれらのメッセージを評価するように通知します。その結果、リアルタイムで全aoネットワークや外部ネットワークのオラクルと通信できるプロセスが実現されます。 ## プロセスでのcronの設定 これらのcronメッセージを作成する最も簡単な方法は、aosコンソールで新しいプロセスを生成し、時間間隔を定義することです。 ```sh aos [myProcess] --cron 5-minutes ``` ...
This is a Markdown documentation from the AO documentation repository. Filename: token.md Path: ../ao-cookbook/src/ja/references/token.md Note: This content continues in the next part.
# aoトークンおよびサブレッジャー仕様 **ステータス:** DRAFT-1 **対象ネットワーク:** ao.TN.1 この仕様は、標準のaoトークンプロセスに必要なメッセージハンドラと機能を説明します。この標準の実装は通常、プロセスによって維持される希少性を持つ転送可能な資産を制御する能力をユーザーに提供します。 各準拠プロセスは、プロセスが表す資産の所有権を符号化するために、残高の台帳を実装することが期待されます。準拠プロセスには、通常、トークンの所有権の希少性を保証するための安全策を伴って、この台帳を変更するためのメソッドのセットがあります。 さらに、この仕様では「サブレッジャー」プロセスタイプを説明しています...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: token.md Path: ../ao-cookbook/src/ja/references/token.md Note: This content continues in the next part.
is paying for the compute and response? Cursor? = "BalanceIdentifer" } }) ``` Example response message: ```lua { Data = { "MV8B3MAKTsUOqyCzQ0Tsa2AR3TiWTBU1Dx0xM4MO-f4": 100, "LcldyO8wwiGDzC3iXzGofdO8JdR4S1_2A6Qtz-o33-0": 50 } } ``` <!-- ### Transfer(Target, Quantity) If the send...
This is a Markdown documentation from the AO documentation repository. This is a continuation from the previous part. Filename: token.md Path: ../ao-cookbook/src/ja/references/token.md
(Target?, Quantity) すべてのサブレッジャーは、残高保有者がトークンを親台帳に引き出すことを許可する必要があります。`Action: Withdraw`メッセージを受信した際、サブレッジャーはその`Parent-Ledger`に`Action`メッセージを送り、要求されたトークンを呼び出し元のアドレスに転送し、ローカルでアカウントから引き落とします。この転送により、呼び出し元に対して`Parent-Ledger`から`Credit-Notice`が発行されます。 ```lua send({ Target = "[TokenProcess Identifier]", Tags = { {...
This is a Markdown documentation from the AO documentation repository. Filename: wasm.md Path: ../ao-cookbook/src/ja/references/wasm.md
<!-- # Meet Web Assembly WebAssembly (often abbreviated as Wasm) is a modern binary instruction format providing a portable compilation target for high-level languages like C, C++, and Rust. It enables deployment on the web for client and server applications, offering a high level of performance and efficiency. WebAss...
This is a Markdown documentation from the AO documentation repository. Filename: community.md Path: ../ao-cookbook/src/ja/references/community.md
--- prev: text: "aoエディタ設定" link: "/references/editor-setup.md" --- # コミュニティ [Autonomous Finance](https://www.autonomous.finance/) - Autonomous Financeは、aoネットワーク内の金融インフラの複雑さに焦点を当てた、専用の研究および技術機関です。 [BetterIdea](https://betteridea.dev/) - BetterIDEaを使用して、より高速でスマート、そして効率的に開発しましょう。AO開発向けの究極のネイティブWeb IDEです。 [Orbit]...
This is a Markdown documentation from the AO documentation repository. Filename: lua.md Path: ../ao-cookbook/src/ja/references/lua.md
<!-- # Meet Lua ### Understanding Lua - **Background**: Lua is a lightweight, high-level, multi-paradigm programming language designed primarily for embedded systems and clients. It's known for its efficiency, simplicity, and flexibility. - **Key Features**: Lua offers powerful data description constructs, dynamic ty...
This is a Markdown documentation from the AO documentation repository. Filename: ao.md Path: ../ao-cookbook/src/ja/references/ao.md
# aoモジュール バージョン: 0.0.3 `ao`プロセスの通信はメッセージによって処理され、各プロセスはANS-104 DataItems形式でメッセージを受信し、以下の一般的な操作を実行できる必要があります。 - isTrusted(msg) - このメッセージが信頼できるかどうかを確認 - send(msg) - 別のプロセスにメッセージを送信 - spawn(module, msg) - プロセスを生成 このライブラリの目的は、`ao`開発者ツールキットの中でこのコア機能を提供することです。開発者として、このライブラリを利用するかどうかは任意ですが、デフォルトで統合されています。 ## プロパティ <!-- ...
This is a Markdown documentation from the AO documentation repository. Filename: index.md Path: ../ao-cookbook/src/ja/references/index.md
--- prev: text: "aosインターフェース" link: "/concepts/tour" next: text: "Lua" link: "./lua" --- # 参考資料 ## 目次 - [Lua](lua)
This is a Markdown documentation from the AO documentation repository. Filename: handlers.md Path: ../ao-cookbook/src/ja/references/handlers.md Note: This content continues in the next part.
<!-- # Handlers (Version 0.0.5) ## Overview The Handlers library provides a flexible way to manage and execute a series of process functions based on pattern matching. An AO process responds based on receiving Messages, these messages are defined using the Arweave DataItem specification which consists of Tags, and Da...