diff --git a/README.md b/README.md index 74984dce4c..ccf0282728 100644 --- a/README.md +++ b/README.md @@ -33,12 +33,12 @@ # 1. Introduction -This project is initiated and facilitated by the Acala Foundation. Acala Foundation nurtures applications in the fields of decentralized finance protocols, particularly those that serve as open finance infrastructures such as stable currency and staking liquidity. The Acala Foundation is founded by [Laminar](https://laminar.one/) and [Polkawallet](https://polkawallet.io/) , participants and contributors to the Polkadot ecosystem. The Acala Foundation welcomes more industry participants as it progresses. +This project is initiated and facilitated by the Acala Foundation. Acala Foundation nurtures applications in the fields of decentralized finance protocols, particularly those that serve as open finance infrastructures such as stable currency and staking liquidity. The Acala Foundation is founded by [Laminar](https://laminar.one/) and [Polkawallet](https://polkawallet.io/), participants and contributors to the Polkadot ecosystem. The Acala Foundation welcomes more industry participants as it progresses. # 2. Overview The significance of cross-chain communication to the blockchain is like that of the internet to the intranet. Polkadot empowers a network of public, consortium and private blockchains, and enables true interoperability, economic and transactional scalability. A cross-chain stablecoin system will: 1. Create a sound, stable currency for low cost, borderless value transfer for all chains in the network -2. Enable commerical lending with predictable risk +2. Enable commercial lending with predictable risk 3. Serve as a building block for more open finance services The Acala Dollar stablecoin (ticker: aUSD) is a multi-collateral-backed cryptocurrency, with value stable against US Dollar (aka. 1:1 aUSD to USD soft peg). It is completely decentralized, that it can be created using assets from blockchains connected to the Polkadot network including Ethereum and Bitcoin as collaterals, and can be used by any chains (or digital jurisdictions) within the Polkadot network and applications on those chains. @@ -258,13 +258,13 @@ docker volume prune # 10. Build For Release For release artifacts, a more optimized build config is used. -This config takes around 2x to 3x longer to build, but produces an more optimized binary to run. +This config takes around 2x to 3x longer to build, but produces a more optimized binary to run. ```bash make build-release ``` -# 11. Setup Local EVM+ Test Enviroment +# 11. Setup Local EVM+ Test Environment To set up a basic local network you need two things running locally, a node and the eth-rpc-adapter. Setup each service in their respective terminals and then you are free to use your favorite EVM tools locally! (ex: hardhat) @@ -294,4 +294,4 @@ docker run -it --rm -p 9944:9944 -p 9933:9933 ghcr.io/acalanetwork/mandala-node: npx @acala-network/eth-rpc-adapter -l 1 ``` -Note: If your usecase needs `eth_getLogs` rpc call, then you need to have a subquery instance to index the local chain. For this case, follow the tutorial found here: [Local Network Tutorial](https://evmdocs.acala.network/network/network-setup/local-development-network) +Note: If your use case needs `eth_getLogs` rpc call, then you need to have a subquery instance to index the local chain. For this case, follow the tutorial found here: [Local Network Tutorial](https://evmdocs.acala.network/network/network-setup/local-development-network) diff --git a/modules/evm-accounts/src/lib.rs b/modules/evm-accounts/src/lib.rs index 450052abd4..32956bbcea 100644 --- a/modules/evm-accounts/src/lib.rs +++ b/modules/evm-accounts/src/lib.rs @@ -192,13 +192,13 @@ pub mod module { impl Pallet { #[cfg(any(feature = "runtime-benchmarks", feature = "std"))] - // Returns an Etherum public key derived from an Ethereum secret key. + // Returns an Ethereum public key derived from an Ethereum secret key. pub fn eth_public(secret: &libsecp256k1::SecretKey) -> libsecp256k1::PublicKey { libsecp256k1::PublicKey::from_secret_key(secret) } #[cfg(any(feature = "runtime-benchmarks", feature = "std"))] - // Returns an Etherum address derived from an Ethereum secret key. + // Returns an Ethereum address derived from an Ethereum secret key. // Only for tests pub fn eth_address(secret: &libsecp256k1::SecretKey) -> EvmAddress { EvmAddress::from_slice(&keccak_256(&Self::eth_public(secret).serialize()[1..65])[12..]) @@ -266,7 +266,7 @@ fn recover_signer(sig: &[u8; 65], msg_hash: &[u8; 32]) -> Option { .ok() } -// Creates a an EvmAddress from an AccountId by appending the bytes "evm:" to +// Creates an EvmAddress from an AccountId by appending the bytes "evm:" to // the account_id and hashing it. fn account_to_default_evm_address(account_id: &impl Encode) -> EvmAddress { let payload = (b"evm:", account_id);