Skip to content

Commit fb99604

Browse files
pgherveouathei
andauthored
Getting started with Dapp (#34)
Co-authored-by: Alexander Theißen <[email protected]>
1 parent edc4e1a commit fb99604

File tree

4 files changed

+23
-201
lines changed

4 files changed

+23
-201
lines changed

docs/known_issues/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ REMIX `0.54-dev`
6262

6363
- Transaction Fails or Resolve Stuck or Pending Transactions: Go to Settings -> Advanced in MetaMask and select [Clear activity tab data](https://support.metamask.io/managing-my-wallet/resetting-deleting-and-restoring/how-to-clear-your-account-activity-reset-account/#to-reset-the-account).
6464

65+
## JSON-RPC
66+
67+
### Missing features
68+
69+
- The list of supported methods is [here](https://github.com/paritytech/polkadot-sdk/blob/master/substrate/frame/revive/rpc/src/rpc_methods_gen.rs); notably, `eth_trace` endpoints are not supported yet.
70+
- EVM transaction have a transaction hash that is different from the Substrate transaction hash, as a consequence, it does work out of the box with Substrate block explorers, this is a known issue and will be fixed in the near future.
71+
6572
### Not Tested
6673

6774
- Plugins Functionality: We have not yet conducted tests on the GitHub, DGIT DIFF, SOURCIFY, SWARM and IPFS plugins. Users should proceed with caution when using these features until further validation is completed.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
sidebar_position: 3
3+
slug: /build-your-first-dapp
4+
---
5+
6+
# Build Your First Dapp
7+
8+
To get started with building a Decentralized Application (Dapp), clone the following repository and follow the README instructions: [https://github.com/paritytech/contracts-boilerplate](https://github.com/paritytech/contracts-boilerplate).
9+
10+
The repository contains two boilerplates:
11+
12+
1. **React and Ether.js**: This boilerplate uses React and Ether.js, a well-established library for interacting with Solidity contracts.
13+
2. **Modern TypeScript with wagmi**: This boilerplate offers a more modern approach, fully typed, and includes powerful React hooks provided by wagmi.

docs/tutorial/3-getting-started-with-ethers.js.md

Lines changed: 0 additions & 199 deletions
This file was deleted.

docs/tutorial/rust.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ how to call this contract.
2222

2323
## Deploy the template
2424

25-
You can use ether.js to deploy the Rust contract. We [covered that](/getting-started-with-ethers.js#deploy-a-contract)
26-
earlier in the tutorial. You skip the compilation step and pass the raw `contract.polkavm` as bytecode:
25+
You can use [ether.js](https://www.npmjs.com/package/ethers) to deploy the Rust contract.
26+
Pass the raw `contract.polkavm` as bytecode:
2727

2828
```ts
2929
import { ContractFactory } from 'ethers'
30+
import { readFileSync } from 'fs'
3031

3132
/// We specify the abi manually since the Rust compiler won't generate one for us
3233
const abi = ["constructor()", "function fibonacci(uint) view returns(uint)"];

0 commit comments

Comments
 (0)