Skip to content
forked from oraichain/orai

Monolithic repository of everything Oraichain

License

Notifications You must be signed in to change notification settings

nysa-network/orai

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oraichain

Banner! Banner!

License Project Status: Active -- The project has reached a stable, usable state and is being actively developed.

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

Deployment

We recommend using Docker to deploy the network. To do so, please type:

docker build -t <image:tag> -f Dockerfile.prod .

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.

About

Monolithic repository of everything Oraichain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 68.1%
  • Shell 27.8%
  • Makefile 2.3%
  • Dockerfile 1.8%