Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add alephzero and subsquid docs to deployment page #173

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions docs/docs/deployment.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
sidebar_position: 4
title: Deployment
sidebar_label: Deployment
---
-------------------------

- Deployment of ink! based smart contracts

Expand All @@ -16,6 +15,12 @@ about how it works you can find on [official wiki](https://wiki.polkadot.network
The list of standalone blockchain/parachains that support ink! smart contracts:

* [Astar](https://astar.network/)
* [Alephzero](https://alephzero.org/)

Subsquid is Web3's premier API framework, supercharging dApps across 30+ chains.
* [Subsquid](https://subsquid.io/) - is a project that extracts and transforms on-chain data in order to present it as a GraphQL API. Squids are developed using the Subsquid SDK, which provides extensive tooling to define data schemas, data transfomation rules, and the shape of the resulting API.
* A public gallery of Squids (APIs) developed by the community here : [link](https://app.subsquid.io/aquarium/squids?list=all)
* [Example](https://docs.subsquid.io/tutorials/create-a-wasm-processing-squid) Squid will track all the token holders and account balances, together with the historical token transfers.

### Overview

Expand All @@ -28,12 +33,14 @@ The list of standalone blockchain/parachains that support ink! smart contracts:
- `Shibuya` - Astar testnet
- `Shiden` - Astar canary network
- `Astar` main network (will support pallet contracts in near futures)
- `Alephzero` main network and testnet support pallet contracts
- Other networks which supports pallet contracts
- Be sure that you have installed `polkadot.js.org` [wallet](#install-polkadot-extention-for-your-browser-and-create-account) extenstion for your browser
- Here you can find how to [Build](https://ink.substrate.io/cargo-contract-cli/#usage) **ink!** smart contract
- Let's [deploy to local network](#deployment-on-local-network)
- You can manuly [call](#call-the-smart-contract) our deployed contract
- [Canvas](https://github.com/paritytech/cumulus#canvas-) - a Smart Contracts [Parachain](https://wiki.polkadot.network/docs/learn-parachains) which was deployed on [Polkadot](https://polkadot.network/ru/) test network - [Rococo](https://polkadot.network/tag/rococo/). You need to get free `ROC` token using [faucet](#rococo-faucet) to deploy contract to Canvas network. Finally deploy your ink! smart contract to [canvas](#deploy-to-=anvas)
- [Alephzero](#alephzero) - Proof-of-Stake public blockchain. Alephzero combined an [original, aBFT consensus protocol](https://alephzero.org/blog/aleph-zero-presents-the-peer-reviewed-consensus-protocol-at-aft-2019-conference/) with a customized [Substrate](https://alephzero.org/blog/aleph-zero-accepted-parity-substrate-builders-program/) stack.
- [Astar](#astar) - [WASM](https://webassembly.org/) + [EVM](https://ethereum.org/en/developers/docs/evm/) Hub on [Polkadot](https://polkadot.network/). More info about astar [here](https://docs.astar.network/)
- You can deploy **ink!** smart contract to [Shibuya](#deploy-to-shibuya) (astar test network). How to get free `SBY` using [faucet](https://docs.astar.network/integration/testnet-faucet)

Expand Down Expand Up @@ -116,6 +123,18 @@ The number `1002` is the parachain id of **Canvas on Rococo**, by supplying it t
- Upload `my_psp22.contract` file the same way as to local node but we need some `ROC` tokens
- Use wallet which contains `ROC` tokens

### Alephzero

* **Aleph Zero** - Aleph Zero is a public blockchain that has been designed to offer superior speed, security, and scalability. It boasts a DAG-based consensus protocol and an integration with customized Substrate modules. The protocol is also distinguished for being peer-reviewed and garnering academic support.
* **Alephzero testnet** - behaves almost the same as mainnet. Any new features are tested on testnet first and then deployed on Aleph Zero mainnet. `TZERO`, the native token of testnet, has no economic value and is available through our [faucet](https://faucet.test.azero.dev/). The best practice is to testing smart contract on testnet before deploying it on Aleph Zero mainnet to check whether your smart contract works well or not.

### Deploy to Alephzero testnet

- Navigate to the [test.azero.dev](https://test.azero.dev/#/contracts) in a web browser.
- Verify that you are connected to the **Alephzero testnet Node**.
- Upload `my_psp22.contract` file the same way as to local node but we need some `TZERO` tokens
- Use wallet which contains `TZERO` tokens

### Astar

* **Astar** - Astar is a multi-chain smart contract platform that supports multiple
Expand Down