You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-10Lines changed: 15 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,16 @@
3
3
Welcome to the Ewasm public testnet! This repository is the primary point of coordination for the testnet. Read on for more information about how to:
4
4
5
5
- Write smart contracts in supported languages and compile them to Wasm bytecode
6
-
- Transact on the testnet, including deploying contracts
6
+
- Transact on the testnet, such as by deploying smart contracts compiled to Ewasm bytecode
7
+
- Run a testnet node locally
7
8
- Add a node to the testnet
8
9
- Participate in mining
9
-
- Participate in network forks
10
+
- Participate in network upgrades
10
11
- Contribute to development and devops
11
12
12
13
## Background
13
14
14
-
Ewasm, which stands for Ethereum-flavored WebAssembly, is the primary candidate to replace EVM (the Ethereum virtual machine) as part of the Ethereum 2.0 "Shasper" roadmap. It is also proposed for adoption on the Ethereum mainnet. Ewasm is a deterministic smart contract execution engine built on the modern, standard [WebAssembly virtual machine](https://webassembly.org/).
15
+
Ewasm, which stands for Ethereum-flavored WebAssembly, is the primary candidate to replace EVM (the Ethereum virtual machine) as part of the Ethereum 2.0 "Serenity" roadmap. It is also proposed for adoption on the Ethereum mainnet. Ewasm is a deterministic smart contract execution engine built on the modern, standard [WebAssembly virtual machine](https://webassembly.org/).
15
16
16
17
For more information on Ewasm, please refer to the following resources:
17
18
@@ -45,6 +46,15 @@ At present, we've developed support for the following languages and toolchains:
45
46
46
47
If you're interested in adding support for another language, framework, or toolset, see the Contributing section above and reach out.
47
48
49
+
## Differences from mainnet
50
+
51
+
The Ewasm testnet supports executing EVM 1.0 (Byzantium) bytecode **and** ewasm bytecode. The chain id is set to 0x42 (66).
52
+
53
+
There are two further technical differences:
54
+
55
+
- the code size limit introduced by Spurious Dragon has been lifted and there is no upper limit (as Wasm bytecode is more verbose than the EVM equivalent)
56
+
- zero bytes in contract bytecode are not subsidised during deployment (they cost the same as non-zero bytes)
57
+
48
58
## Transacting
49
59
50
60
You don't need any special infrastructure to transact on the Ewasm testnet. You may run your own node (see below), or you may use the public node. You may view the list of testnet tools here: http://ewasm.ethereum.org/. Start by requesting test ether from the faucet:
@@ -55,17 +65,12 @@ You don't need any special infrastructure to transact on the Ewasm testnet. You
55
65
56
66
Voila! You're now ready to transact on the testnet.
57
67
58
-
## Differences from mainnet
59
-
60
-
The Ewasm testnet supports executing EVM 1.0 (Byzantium) bytecode **and** ewasm bytecode. The chain id is set to 0x42 (66).
68
+
## Running a testnet node locally
61
69
62
-
There are two differences:
63
-
- code size limit introduced by Spurious Dragon has been lifted and there is no upper limit
64
-
- zero bytes in contract bytecode are not subsidised anymore during deployment (they cost the same as non-zero bytes)
70
+
The testnet currently only supports the [go-ethereum](https://github.com/ethereum/go-ethereum) (geth) client. Support for aleth (formerly, cpp-ethereum) is a work in progress and more information may be found [here](aleth.md).
65
71
66
72
## Adding a node to the testnet
67
73
68
-
The testnet currently only supports the [go-ethereum](https://github.com/ethereum/go-ethereum) (geth) client. Support for aleth (formerly, cpp-ethereum) is a work in progress and more information may be found [here](aleth.md).
0 commit comments