Code Monkey home page Code Monkey logo

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

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

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

artela's Issues

Invalid chain ID when run artelad start

I'm follow this document https://docs.artela.network/develop/node/run-full-node and when i run arteland start, I got this error, how can I fix this?

# /tmp/test/artelad start --log_level=debug
panic: artela: []: invalid chain ID

goroutine 11 [running]:
github.com/artela-network/artela/x/evm/keeper.(*Keeper).WithChainID(0xc00168e600, {0xc00190e758?, 0xc000ceddc0?})
        github.com/artela-network/artela/x/evm/keeper/keeper.go:184 +0xc6
github.com/artela-network/artela/x/evm/keeper.NewKeeper({0x4c4af80?, 0xc0000ab2b0}, {0x4c17e98?, 0xc001996650}, {0x4c17ee8?, 0xc001996680}, {_, _, _}, {0x4c48be0, ...}, ...)
        github.com/artela-network/artela/x/evm/keeper/keeper.go:135 +0x731
github.com/artela-network/artela/app.NewArtela({0x4c381e0, 0xc0000aa820}, {0x4c4cc88, 0xc000014150}, {0x0, 0x0}, 0x1, 0xc00140f440, {0xc000d80d60, 0xe}, ...)
        github.com/artela-network/artela/app/app.go:549 +0x3bee
github.com/artela-network/artela/cmd/artelad/cmd.appCreator.newApp({{{0x4c41db0, 0xc00012d820}, {0x4c590a0, 0xc0000ab2b0}, {0x4c483a0, 0xc000d169c0}, 0xc00048b858}}, {0x4c381e0, 0xc0000aa820}, {0x4c4cc88, ...}, ...)
        github.com/artela-network/artela/cmd/artelad/cmd/root.go:291 +0xa25
github.com/artela-network/artela/ethereum/server.startInProcess(_, {{0x0, 0x0, 0x0}, {0x4c57eb0, 0xc00169a3c0}, 0x0, {0xc001694448, 0x6}, {0x4c590a0, ...}, ...}, ...)
        github.com/artela-network/artela/ethereum/server/start.go:334 +0x3ee
github.com/artela-network/artela/ethereum/server.StartCmd.func2.2()
        github.com/artela-network/artela/ethereum/server/start.go:158 +0x58
github.com/artela-network/artela/ethereum/server.wrapCPUProfile.func2()
        github.com/artela-network/artela/ethereum/server/start.go:631 +0x29
created by github.com/artela-network/artela/ethereum/server.wrapCPUProfile
        github.com/artela-network/artela/ethereum/server/start.go:630 +0x24a

I'm used prebuilt https://github.com/artela-network/artela/releases/tag/v0.4.7-rc6

Bug on renaissance event

hello,

Swap Tokens on Symmetric Finance are not validated, regardless of the swaps carried out.

key not found error when create-validator

Hi, I'm trying to create a validator after catching up is false. But it shows the error: Error: rpc error: code = NotFound desc = rpc error: code = NotFound desc = account art1tzdyw5dy8qrzyja9n0vledspcjgezhm675372g not found: key not found.

My execution code is:

 artelad tx staking create-validator --amount 1art --from wallet --commission-rate 0.1 --commission-max-rate 0.2 --commission-max-change-rate 0.01 --min-self-delegation 1 --pubkey $(artelad tendermint show-validator) --moniker "mynode" --identity "" --details "validator" --chain-id artela_11822-1 --gas auto

My sync info is:

{
  "latest_block_hash": "25926998258862759C8AA6EEBFD887082A7CFE50AAD4A8C53ADBC48ED6CC262A",
  "latest_app_hash": "956DFF02359E85803EEB81A7522D3491EB2ED690248585F23CEE685AE375145A",
  "latest_block_height": "7562310",
  "latest_block_time": "2024-05-25T06:50:55.687113527Z",
  "earliest_block_hash": "9D03A076DA272A5044E4D1EDBB2C050F8D9A295C96D10900D5CEED6E689A1EB3",
  "earliest_app_hash": "CC50A8522777A26D9A3B001A2AB4F162754604AE6122E7053045EBF2364C7D83",
  "earliest_block_height": "7515797",
  "earliest_block_time": "2024-05-24T06:59:40.270219005Z",
  "catching_up": false
}

run artelad failed

Describe the bug

When I try to run artelad after make install, it shows the artelad: error while loading shared libraries: libaspect_wasm_instrument.so: cannot open shared object file: No such file or directory error.

To reproduce

  1. Go to artela git dir
  2. run make install
  3. run artelad
  4. See error

Cannot run as docker

dear,
I run as docker-compose, it start up, but will stop unexpected. artelad command in docker container also does not work.

artelad can't work

the error is
error while loading shared libraries: libaspect_wasm_instrument.so: cannot open shared object file: No such file or directory
after run make clean && make && ./build/artelad -h

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.