Giter Site home page Giter Site logo

ventur's Introduction

Ventur

License Docker
Unit Tests Cargo Check Release Check Docker Compose and Docker Build Escrow Unit Test Payments Unit Test
Discord

A Business and Professional Enablement Parachain built with Substrate.

Running a Ventur Node (Ubuntu)

Setup - Environment Setup

Install Dependencies

sudo apt install build-essential
sudo apt install -y git clang curl libssl-dev llvm libudev-dev make protobuf-compiler

Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

source ~/.cargo/env

rustup default stable

rustup update stable

rustup update nightly

rustup install nightly-2022-09-19 

rustup override set nightly-2022-09-19

rustup target add wasm32-unknown-unknown

rustup target add wasm32-unknown-unknown --toolchain nightly

Build a Ventur Node

Fetch the code

The following command pulls the ventur-node code from our GitHub repo.

git clone https://github.com/Popular-Coding/ventur.git

cd ventur

Build the node

The following command builds the node. (This may take some time)

cargo build --release

Run the node

Single-Node

The cargo run command will perform an initial build and launch the node. If you built the node with the cargo build --release command in the previous build the node step. Use the following code to run the node with the build you have already completed.

This command will start a single node with a persistent state:

./target/release/ventur-node --dev

To purge the development chain's state:

./target/release/ventur-node purge-chain --dev

To Start the development chain with detailed logging.

RUST_BACKTRACE=1 ./target/release/ventur-node -ldebug --dev

Running a Ventur Node (Docker)

Running a Ventur Node (Docker Compose)

First, install Docker and Docker Compose.

Clone the repo.

git clone https://github.com/Popular-Coding/ventur.git

cd ventur

Then run the following command to start a single node development chain.

./scripts/docker_run.sh

Running a Ventur Node (Dockerfile)

Clone the repo.

git clone <https://github.com/Popular-Coding/ventur.git>

cd ventur

Then run this command to build the docker image.

docker build . -t ventur-node

To run the container with localhost:9944 published so it can interact with the Polkadot-JS front-end. (single node development chain)

docker run -p 9944:9944 ventur-node

Connect with Polkadot-JS Apps Front-end

Once the node is running locally, you can connect it with Polkadot-JS App front-end to interact with the development chain. Click here

Run Tests

Unit tests can be run locally using the cargo test command.

Manual Test Guides

Test Guide

Test Guide

Test Guide

Test Guide

Runtime Architecture

Pallets

Payment-Contracts

README rustdoc

Escrow

README rustdoc

NT-NFT

README rustdoc

Attribution

The NT-NFT pallet's approach to interacting with NFT collections and items is inspired by Parity's Uniques Pallet

RFP-Process

README rustdoc

Roadmap

Stay up to date with the Ventur Roadmap hosted on GitHub: Ventur Roadmap

Contribute to Ventur

Ventur is an open source project, to learn about our team's development processes and to learn how you can contribute, read our Contributor's Guide.

ventur's People

Contributors

d-z-o avatar ginsiucheng avatar gryczka avatar maciekzielonka avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.