|
| 1 | +# amsterDOT Acala Workshop |
| 2 | + |
| 3 | +Docs: https://evmdocs.acala.network |
| 4 | + |
| 5 | +- Prepare |
| 6 | + - Use Github Codespaces |
| 7 | + - OR use VSCode devcontainer |
| 8 | + - OR install deps by following instructions [here](#3-building) |
| 9 | +- Run a local instant sealing devnet |
| 10 | + - `make run-eth` |
| 11 | + - OR use docker |
| 12 | + - `docker run --rm -p 9944:9944 -p 9933:9933 ghcr.io/acalanetwork/mandala-node:sha-ce49e64 --dev -levm=debug --instant-sealing --ws-external --rpc-external --rpc-cors=all` |
| 13 | +- Run `eth-rpc-adapter` |
| 14 | + - `LOCAL_MODE=1 npx @acala-network/eth-rpc-adapter@2.4.4` |
| 15 | +- Setup Metamask: |
| 16 | + - Mnemonic: `fox sight canyon orphan hotel grow hedgehog build bless august weather swarm` |
| 17 | + - Add new network |
| 18 | + - Name: Mandala Local |
| 19 | + - RPC: http://localhost:8545 |
| 20 | + - Chain ID: 595 |
| 21 | + - Symbol: ACA |
| 22 | +- Try send some ACA with Metamask |
| 23 | + - Note: Please don't modify gas price or it could fail |
| 24 | +- Remix |
| 25 | + - Use injected Web3 provider |
| 26 | + - Create new workspace |
| 27 | + - Try deploy contracts |
| 28 | + - Modify gas price to `201.92480561` GWEI if contract deployment failed |
| 29 | + - Refer to https://evmdocs.acala.network/reference/common-errors for common errors |
| 30 | + |
| 31 | +---- |
| 32 | + |
1 | 33 | <p align="center">
|
2 | 34 | <img src="https://acala.subdao.com/logo/acala-logo-horizontal-gradient.png" width="460">
|
3 | 35 | </p>
|
|
20 | 52 |
|
21 | 53 | <!-- TOC -->
|
22 | 54 |
|
| 55 | +- [amsterDOT Acala Workshop](#amsterdot-acala-workshop) |
23 | 56 | - [1. Introduction](#1-introduction)
|
24 | 57 | - [2. Overview](#2-overview)
|
25 |
| - - [2.1. aUSD and the Honzon stablecoin protocol](#21-ausd-and-the-honzon-stablecoin-protocol) |
26 |
| - - [2.2. Acala Network Economic Model](#22-acala-network-economic-model) |
| 58 | + - [2.1. aUSD and the Honzon stablecoin protocol](#21-ausd-and-the-honzon-stablecoin-protocol) |
| 59 | + - [2.2. Acala Network Economic Model](#22-acala-network-economic-model) |
27 | 60 | - [3. Building](#3-building)
|
| 61 | + - [NOTE](#note) |
28 | 62 | - [4. Run](#4-run)
|
29 | 63 | - [5. Development](#5-development)
|
30 | 64 | - [6. Bug Bounty :bug:](#6-bug-bounty-bug)
|
| 65 | +- [7. Bench Bot](#7-bench-bot) |
| 66 | + - [Generate module weights](#generate-module-weights) |
| 67 | + - [Generate runtime weights](#generate-runtime-weights) |
| 68 | + - [Bench Acala EVM+](#bench-acala-evm) |
| 69 | +- [8. Migration testing runtime](#8-migration-testing-runtime) |
| 70 | + - [Try testing runtime](#try-testing-runtime) |
| 71 | +- [9. Run local testnet with parachain-launch](#9-run-local-testnet-with-parachain-launch) |
| 72 | +- [10. Run local testnet with polkadot-launch](#10-run-local-testnet-with-polkadot-launch) |
| 73 | +- [11. Build For Release](#11-build-for-release) |
31 | 74 |
|
32 | 75 | <!-- /TOC -->
|
33 | 76 |
|
@@ -152,7 +195,7 @@ __Note:__ All build command from Makefile are designed for local development pur
|
152 | 195 |
|
153 | 196 | # 6. Bug Bounty :bug:
|
154 | 197 |
|
155 |
| -The Bug Bounty Program includes only on-chain vulnerabilities that can lead to significant economic loss or instability of the network. You check details of the Bug Bounty or Submit a vulnerability here: |
| 198 | +The Bug Bounty Program includes only on-chain vulnerabilities that can lead to significant economic loss or instability of the network. You check details of the Bug Bounty or Submit a vulnerability here: |
156 | 199 | https://immunefi.com/bounty/acala/
|
157 | 200 |
|
158 | 201 | # 7. Bench Bot
|
|
0 commit comments