Coder Social home page Coder Social logo

wangliusen / artela Goto Github PK

View Code? Open in Web Editor NEW

This project forked from artela-network/artela

1.0 1.0 0.0 101.93 MB

Powerful blockchain node with Aspect programming enabled.

Home Page: https://www.artela.network/

License: Apache License 2.0

Shell 1.05% JavaScript 41.48% Go 57.32% Makefile 0.06% HTML 0.07% Dockerfile 0.02%

artela's Introduction

Artela

Introduction

Artela Blockchain is a layer 1 network that empowers developers to add user-defined native extensions and build feature-rich dApps. It offers extensibility that goes beyond EVM-equivalence, inter-domain interoperability, and boundless scalability with its Elastic Block Space design.

As the first layer 1 network equipped with Aspects, Artela network aims to maximize the value of Aspect and enable developers to build feature-rich dApps.

  • Base Layer: Provide basic functions, including consensus engine, networking, EVM environments for the smart contract execution, and WASM environments for the Aspects execution. This layer is launched by Artela.

  • Extension Layer: Provide the Aspect SDK. Developers are able to build Aspects. Aspects have access to all APIs within the base layer and can be freely combined with smart contracts and other Aspects. Aspect is securely isolated from Base Layer, ensuring that it has no impact on the security or availability of the core network.

  • Application Layer: Developers can build smart contracts as usual. Initially, EVM will be provided for the seamless landing of most dApps in crypto.

Build the source

Artela is a blockchain built using Cosmos SDK and Cometbft and created with Ignite CLI.

1). Set Up Your Go Development Environment
Make sure you have set up your Go programming language development environment.

2). Download the Source Code
Obtain the project source code using the following method:

git clone https://github.com/artela-network/artela.git

3). Compile
Compile the source code and generate the executable using the Go compiler:

cd artela
make clean && make

Executables

The artela project comes with executable found in the build directory.

Command Description
artelad artelad is the core node software of the Artela network, responsible for running and managing the Artela blockchain network.

Running Testnet

Setting Up a Single-Node Artela Testnet

Initialize the testnet by running a simple script

sh init.sh

Running the node by

artelad start

Setting Up a 4-Validator Testnet

Run the following command to initialize a 4-validator testnet:

make create-testnet

To view node logs, use tail -f _testnet/node2/artelad/node.log.

This command compiles the current repository code and generates Docker images. It launches Docker containers named artela0 to artela3, each running artelad as a node. Disk mapping is configured to map directories artea/_testnet/node0 to node3 to Docker containers artela0 to artela3.

More options about the testnet:

Command Description
build-testnet Build Docker images for the testnet and create a configuration for 4-validator nodes.
create-testnet Remove a previously built testnet, build it again using build-testnet, and start Docker containers.
stop-testnet Stop the running Docker containers for the testnet.
start-testnet Start the previously stopped Docker containers for the testnet.
remove-testnet Stop the Docker containers and remove all components created by the build-testnet command.

Hardware Requirements

Minimum:

  • CPU with 2+ cores
  • 4GB RAM
  • 1TB free storage space to sync the Tetnet
  • 8 MBit/sec download Internet service

Recommended:

  • Fast CPU with 4+ cores
  • 16GB+ RAM
  • High-performance SSD with at least 1TB of free space
  • 25+ MBit/sec download Internet service

Artela Testnet

Presistent nodes of artela testnet:

  • https://testnet-rpc1.artela.network
  • https://testnet-rpc2.artela.network
  • https://testnet-rpc3.artela.network
  • https://testnet-rpc4.artela.network

Learn more about Artela in https://artela.network/

License

Copyright © Artela Network, Inc. All rights reserved.

Licensed under the Apache v2 License.

artela's People

Contributors

luketheart avatar 0xyuan90 avatar gene-zhan avatar dumbeng avatar cpppppp7 avatar

Stargazers

 avatar

Watchers

 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.