Skip to content

Commit

Permalink
few final touches (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
kianenigma authored Dec 17, 2024
1 parent 81f17a7 commit 085404f
Showing 1 changed file with 9 additions and 3 deletions.
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

0 comments on commit 085404f

Please sign in to comment.