All Projects → AstarNetwork → Astar

AstarNetwork / Astar

Licence: GPL-3.0 license
The dApp hub for blockchains of the future

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Astar

polkadot-apps
Fork of Polkadot.js Apps with Subsocial types.
Stars: ✭ 17 (-96.81%)
Mutual labels:  dapp, substrate, polkadot
nft-swap-sdk
Ethereum's missing p2p NFT and token swap library for web3 developers. Written in TypeScript. Powered by 0x.
Stars: ✭ 200 (-62.48%)
Mutual labels:  dapp, web3, evm
interbtc
interBTC: Trustless Bitcoin on Polkadot | kBTC: Trustless Bitcoin on Kusama
Stars: ✭ 136 (-74.48%)
Mutual labels:  substrate, polkadot, kusama
polkadot-wiki-old
The Polkadot wiki.
Stars: ✭ 56 (-89.49%)
Mutual labels:  web3, substrate, polkadot
jupiter
Wasm smart contract networks powered by Substrate FRAME Contracts pallet in Polkadot ecosystem.
Stars: ✭ 49 (-90.81%)
Mutual labels:  wasm, substrate, polkadot
LunDAO
LunDAO 是一個鼓勵撰寫與 Ethereum 社群相關的中深度的中文文章,透過一個短期的實驗專案嘗試 DAO 可以如何進行社群治理以及回饋社群貢獻。
Stars: ✭ 50 (-90.62%)
Mutual labels:  dapp, web3, evm
polkaswap-web
Polkaswap is a non-custodial, cross-chain AMM DEX protocol for swapping tokens based on Polkadot and Kusama relay chains, Polkadot and Kusama parachains, and blockchains directly connected via bridges. Polkaswap removes trusted intermediaries and provides the opportunity for faster trading.
Stars: ✭ 43 (-91.93%)
Mutual labels:  substrate, polkadot, kusama
crunch
Crunch is a command-line interface (CLI) and Matrix Bot to claim staking rewards every Era for Substrate-based chains
Stars: ✭ 34 (-93.62%)
Mutual labels:  substrate, polkadot, kusama
digital-assets-association-poland
🐋 🐋 https://meetup.com/Silesia-Blockchain-Meetup 🐋 🐋
Stars: ✭ 14 (-97.37%)
Mutual labels:  substrate, polkadot, plasm-network
substrate-debug-kit
A collection of debug tools, scripts and libraries on top of substrate.
Stars: ✭ 96 (-81.99%)
Mutual labels:  substrate, polkadot, kusama
reef-chain
EVM compatible chain with NPoS/PoC consensus
Stars: ✭ 142 (-73.36%)
Mutual labels:  evm, substrate, polkadot
subsocial-node
NOTE: Development continues in https://github.com/dappforce/subsocial-parachain repo. Subsocial full node with Substrate/Polkadot pallets for decentralized communities: blogs, posts, comments, likes, reputation.
Stars: ✭ 73 (-86.3%)
Mutual labels:  dapp, substrate, polkadot
eth-commerce
Javascript library to accept ethereum payments on any website
Stars: ✭ 24 (-95.5%)
Mutual labels:  dapp, web3
cap9
Capability-based security protocol for smart contracts
Stars: ✭ 22 (-95.87%)
Mutual labels:  web3, substrate
nft-app
How to create your own NFT and mint NFT token
Stars: ✭ 145 (-72.8%)
Mutual labels:  dapp, web3
substrate-tcr-ui
A react.js frontend for Substrate TCR runtime.
Stars: ✭ 14 (-97.37%)
Mutual labels:  substrate, polkadot
common
Utilities and base libraries for use across polkadot-js for Polkadot and Substrate. Includes base libraries, crypto helpers and cross-environment helpers. Full documentation & examples available.
Stars: ✭ 221 (-58.54%)
Mutual labels:  substrate, polkadot
polkawallet-flutter
Replace to: https://github.com/polkawallet-io/app
Stars: ✭ 107 (-79.92%)
Mutual labels:  substrate, polkadot
web3-webpacked
Drop-in web3 solution for single-page Ethereum dApps
Stars: ✭ 36 (-93.25%)
Mutual labels:  dapp, web3
polkadot-spec
The Polkadot Protocol Specification
Stars: ✭ 127 (-76.17%)
Mutual labels:  polkadot, kusama

astar-cover

Integration Action GitHub tag (latest by date) Substrate version License
Twitter URL Twitter URL YouTube Docker Discord Telegram Medium

Astar Network is an interoperable blockchain based the Substrate framework and the hub for dApps within the Polkadot Ecosystem. With Astar Network and Shiden Network, people can stake their tokens to a Smart Contract for rewarding projects that provide value to the network.

For contributing to this project, please read our Contribution Guideline.

Building From Source

This section assumes that the developer is running on either macOS or Debian-variant operating system. For Windows, although there are ways to run it, we recommend using WSL or from a virtual machine for stability.

Execute the following command from your terminal to set up the development environment and build the node runtime.

# install Substrate development environment via the automatic script
$ curl https://getsubstrate.io -sSf | bash -s -- --fast

# clone the Git repository
$ git clone --recurse-submodules https://github.com/AstarNetwork/Astar.git

# change current working directory
$ cd Astar

# compile the node
# note: you may encounter some errors if `wasm32-unknown-unknown` is not installed, or if the toolchain channel is outdated
$ cargo build --release

# show list of available commands
$ ./target/release/astar-collator --help

Building with Nix

# install Nix package manager:
$ curl https://nixos.org/nix/install | sh

# run from root of the project folder (`Astar/` folder)
$ nix-shell -I nixpkgs=channel:nixos-21.05 third-party/nix/shell.nix --run "cargo build --release"

Running a Collator Node

To set up a collator node, you must have a fully synced node with the proper arguments, which can be done with the following command.

# start the Shiden collator node with
$ ./target/release/astar-collator \
  --base-path <path to save blocks> \
  --name <node display name> \
  --port 30333 \
  --ws-port 9944 \
  --rpc-port 9933 \
  --telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
  --rpc-cors all \
  --collator

Now, you can obtain the node's session key by sending the following RPC payload.

# send `rotate_keys` request
$ curl -H 'Content-Type: application/json' --data '{ "jsonrpc":"2.0", "method":"author_rotateKeys", "id":1 }' localhost:9933

# should return a long string of hex, which is your session key
{"jsonrpc":"2.0","result":"<session key in hex>","id":1}

After this step, you should have a validator node online with a session key for your node. For key management and validator rewards, consult our validator guide online.

Further Reading

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].