Skip to content

Commit 5ebdd0b

Browse files
7i7owolovim
authored andcommitted
update wolovim-part-1.mdx callout and broken links
1 parent 75b27f0 commit 5ebdd0b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

pages/lessons/fundamentals/wolovim-part-1.mdx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ In [3]: Web3.from_wei(500000000, 'gwei')
147147
Out[3]: Decimal('0.5')
148148
```
149149

150-
Other utility methods on the Web3 module include data format converters (e.g., `[to_hex](https://web3py.readthedocs.io/en/stable/web3.main.html#web3.Web3.toHex)`), address helpers (e.g., `[is_address](https://web3py.readthedocs.io/en/stable/web3.main.html#web3.Web3.isAddress)`), and hash functions (e.g., `[keccak](https://web3py.readthedocs.io/en/stable/web3.main.html#web3.Web3.keccak)`). Many of these will be covered later in the series. To view all the available methods and properties, utilize IPython’s auto-complete by typing `Web3.` and hitting the tab key twice after the period.
150+
Other utility methods on the Web3 module include data format converters (e.g., [to_hex](https://web3py.readthedocs.io/en/stable/web3.main.html#web3.Web3.toHex) ), address helpers (e.g., [is_address](https://web3py.readthedocs.io/en/stable/web3.main.html#web3.Web3.isAddress) ), and hash functions (e.g., [keccak](https://web3py.readthedocs.io/en/stable/web3.main.html#web3.Web3.keccak) ). Many of these will be covered later in the series. To view all the available methods and properties, utilize IPython’s auto-complete by typing `Web3.` and hitting the tab key twice after the period.
151151

152152
### **Talk to the chain**
153153

@@ -166,7 +166,7 @@ While this is one “real” way to do it, the syncing process takes hours and i
166166

167167
The EthereumTesterProvider connects to a simulated node and is handy for quick development environments.
168168

169-
That simulated node is called **[eth-tester](https://github.com/ethereum/eth-tester)** and we installed it as part of the `pip install "web3[tester]"` command. Configuring Web3.py to use this tester provider is as simple as:
169+
That simulated node is called [**eth-tester**](https://github.com/ethereum/eth-tester) and we installed it as part of the `pip install "web3[tester]"` command. Configuring Web3.py to use this tester provider is as simple as:
170170

171171
```python
172172
In [4]: w3 = Web3(Web3.EthereumTesterProvider())
@@ -249,7 +249,7 @@ In [10]: tx_hash = w3.eth.send_transaction({
249249

250250
This is typically the point where you’d wait for several seconds for your transaction to get included in a new block. The full process goes something like this:
251251

252-
1. Submit a transaction and hold on to the transaction hash. Until it's included, the transaction is “pending.”`tx_hash = w3.eth.send_transaction({ })`
252+
1. Submit a transaction and hold on to the transaction hash. Until it's included, the transaction is “pending.”`tx_hash = w3.eth.send_transaction({ ... })`
253253
2. Wait for the transaction to be included:`w3.eth.wait_for_transaction_receipt(tx_hash)`
254254
3. To view the successful transaction:`w3.eth.get_transaction(tx_hash)`
255255

@@ -282,8 +282,9 @@ Out[13]: 1000003000000000000000000
282282

283283
The latter looks good! The balance went from 1,000,000 to 1,000,003 ether. But what happened to the first account? It appears to have lost slightly more than three ether. Alas, nothing in life is free, and using the Ethereum public network requires that you compensate your peers for their supporting role. A small transaction fee was deducted from the account making the transaction to the tune of 21000 wei.
284284

285-
> Note: On the public network, transaction fees are variable based on network demand and how quickly you'd like a transaction to be processed.
286-
>
285+
<Callout emoji='💡' size='md' variant='info'>
286+
**Note**: On the public network, transaction fees are variable based on network demand and how quickly you'd like a transaction to be processed.
287+
</Callout>
287288

288289
### **And breathe**
289290

0 commit comments

Comments
 (0)