TP

tari-project/tari-ootle

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

29 stars 质量 63 趋势 31BSD-3-Clause

塔里项目/塔里乌特尔是从https://github.com/tari-project/tari-ootle.导入的特工技能候选人。

概览

塔里项目/塔里乌特尔是从https://github.com/tari-project/tari-ootle.导入的特工技能候选人。

概述(AI 翻译)

这里是Tari智能合约层的前沿开发。

你可以在RFC中阅读Ootle的技术规格。

如果你想找核心的 Tari 底层代码,就在这个仓库里

文献资料

先修条件

你需要以下工具和依赖,才能成功构建Ootle和/或本地运行Ootle,通过以下方式 Localnet 环境:

  • C/C++编译器

  • Linux:gcc 或 clang

  • macOS:clang(通过Xcode CLI工具)

  • Windows:MSVC(通过Visual Studio构建工具)

  • 构建工具

  • make、cmake或等价

  • pkg-config(Linux/macOS)

  • 图书馆

  • OpenSSL 开发库([libssl-dev)

  • SQLite 开发库([libsqlite3-dev)

  • Protobuf 编译器(protoc)和头部(libprotobuf-dev)

  • 其他

  • git

  • Rust (=1.88):使用 rustup 安装 Rust,并添加一个 WASM 目标:

网页界面

Node.js (>=20.x) & npm:构建验证节点、索引器和钱包网页界面需要Node.js。 注意:这不是必须的,二进制文件仍然可以运行和编译,无需构建网页界面。

按照节点上的说明操作。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Tari Ootle

This is where you can find the cutting-edge development of the Tari smart contract layer.

You can read about the technical specifications of the Ootle in the RFCs.

If you’re looking for the core Tari base layer code, it’s in this repository

Documentation

Prerequisites

You will require the following tools and dependencies to successfully build the Ootle and/or run the Ootle locally via the Localnet environment:

  • C/C++ compiler

    • Linux: gcc or clang
    • macOS: clang (via Xcode CLI tools)
    • Windows: MSVC (via Visual Studio Build Tools)
  • Build tools

    • make, cmake, or equivalent
    • pkg-config (Linux/macOS)
  • Libraries

    • OpenSSL development libraries (libssl-dev)
    • SQLite development libraries (libsqlite3-dev)
    • Protobuf compiler (protoc) and headers (libprotobuf-dev)
  • Other

    • git
  • Rust (=1.88): Install Rust using rustup, and add a WASM target:

# Install the rust version in rust-toolchain.toml
rustup install
# Add wasm target
rustup target add wasm32-unknown-unknown

Web UIs

Node.js (>=20.x) & npm: Node.js is required for building the validator node, indexer and wallet web UIs. NOTE: this is not required, and the binaries will still run and compile without building the web UIs.

Follow the instructions at node.js for your desired operating system and package/version managers. We recommend installing Node.js via nvm to easily manage versions across projects.

We use pnpm for package management.

Accessing the Ootle Testnet

The Tari Ootle Wallet Daemon is available on the project’s releases page. Unzip the binaries, then run:

tari_ootle_walletd --network igor -b 

This will start a wallet connected to the Igor Testnet. You can view the public Nodes here:

Navigate to http://127.0.0.1:5100 to create an account, claim test tokens and start testing features.

Running a Small Ootle Network Locally (Localnet)

NOTE: This repository is under heavy development. We’ll try to keep instructions up to date, but they may become outdated.

Confirm you have installed all the prerequisites listed in the Prerequisites section (Rust, Node.js, npm, linux dependencies)

The easiest way to test out the Ootle is to use the tari_swarm_daemon. This will spin up all necessary MinoTari and Ootle applications for a localnet network.

Clone both the tari and tari-ootle repositories in the same folder:

mkdir 
cd
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add tari-project/tari-ootle
新手?先看 mcpskill.org 教程 →