orai

module
v0.42.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2024 License: Apache-2.0

README

Oraichain

Banner! Banner!

License

Oraichain is the world’s first AI-powered oracle and ecosystem for blockchains.

Beyond data oracles, Oraichain aims to become the first AI Layer 1 in the Blockchain sphere with a complete AI ecosystem, serving as a foundational layer for the creation of a new generation of smart contracts and Dapps. With AI as the cornerstone, Oraichain has developed many essential and innovative products and services including AI price feeds, fully on-chain VRF, Data Hub, AI Marketplace with 100+ AI APIs, AI-based NFT generation and NFT copyright protection, Royalty Protocol, AI-powered Yield Aggregator Platform, and Cosmwasm IDE.

This repository contains the source code & how to build the Oraichain mainnet, a Cosmos-based blockchain network that levarages the CosmWasm technology to integrate AI into the ecosystem.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites
Hardware requirements

Please visit the official hardware requirement for Oraichain mainnet here

Installing
  • Install Golang

Please visit the official Golang website to download & install Go

  • Install make

Normally, for Linux-based machines, you already have Make installed by default.

  • Install libwasmvm

the wasmd module of CosmWasm uses a wasm vm library, which should be included when building the chain binary. Hence, we need to download and place it in a specific location.

For Linux based machines, please run the following command:

sudo wget https://github.com/CosmWasm/wasmvm/releases/download/v0.13.0/libwasmvm_muslc.a -O /lib/libwasmvm_muslc.a
  • Download Go dependencies

go get ./...

  • Build the binary

make install

  • Verify the binary version

oraid version

Protobuf & protobuf swagger generation

  • Install Docker

  • Start the proto docker: docker-compose up -d proto

  • Install neccessary tools: docker-compose exec proto ash -c 'apk add build-base bash && go get ./...'

  • Gen protobuf: docker-compose exec proto ash -c 'make proto-gen'

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache 2.0 license - see the LICENSE file for details.

Directories

Path Synopsis
app
params
Package params defines the simulation parameters in the simapp.
Package params defines the simulation parameters in the simapp.
cmd
doc
oraivisor module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL