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

few final touches #41

Merged
merged 1 commit into from
Dec 17, 2024
Merged
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
12 changes: 9 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,21 @@ sidebar_position: 1
# Intro

This documentation teaches you everything you need to know about smart contracts on
Polkadot Asset Hub. The feature is a work in progress. A preview version is deployed to the Westend Asset Hub
to gather feedback during development.
Polkadot.

:::info

**The feature is a work in progress**. A preview version is deployed to the [Westend Asset Hub](https://wiki.polkadot.network/docs/maintain-networks#westend-asset-hub)
to gather feedback during development. This documentation will also be moved to the official Polkadot Wiki once the feature is stable.

:::

Our solution is Ethereum-compatible: You can write your contracts in Solidity and interact with the node
using Ethereum JSON RPC alongside an Ethereum wallet like MetaMask. Under the hood, we recompile the
contracts from YUL (EVM assembly) to RISC-V to run them using [PolkaVM](https://wiki.polkadot.network/docs/learn-jam-chain#polkadot-virtual-machine-pvm) instead of EVM.

To keep things simple for now, you need to use our [REMIX](https://remix.polkadot.io) web frontend to compile
your contracts to RISC-V and deploy them to Westend. Eventually, we will provide tools to accomplish this process locally.
your contracts to RISC-V and deploy them to Westend. Eventually, we will provide tools to accomplish this process locally. See [this page](https://contracts.polkadot.io/differences_to_eth) for more information about Ethereum compatibility.

To develop an app that interacts with your contract, you can use any Ethereum JavaScript library of your choice. We
are using [`ethers.js`](https://ethers.org) in our tests, which is the most popular library as of this writing.
Expand Down
Loading