web3-toolkit-rs
                                
                                
                                
                                    web3-toolkit-rs copied to clipboard
                            
                            
                            
                        👾 𝘄𝗲𝗯𝟯 𝘀𝘁𝗮𝗿𝘁𝗶𝗻𝗴 𝗸𝗶𝘁 - 𝗿𝘂𝘀𝘁 𝗲𝗱𝗶𝘁𝗶𝗼𝗻
⛓️🧰🦀 𝘄𝗲𝗯𝟯 rust scripts && resources
- 📚 start with rust tl; dr, then check some of my on-going notes:
- rust tricks
 - async for rust
 - memory management in rust
 - error handling in rust
 - writing tests in rust
 
 
- 🕹 use w3kit:
- w3kit is an ongoing development of a crate for on-chain ops on several blockchains.
 - this package (crate) is published in crates.io and can be imported as a library with 
cargo add w3kit. 
 
- ⚗️ check boilerplate snippets:
- useful boilerplates: cryptographic primitives, handling files, benchmarking, etc.
 
 
- 📊 play with blockchain-science-rs:
- ongoing on-chain research, foundry science, defi analysis, and bots (rust edition)
 - example: leveraging foundry to analyze historical data on avalanche c-chain to simulate sandwich attacks in the gmx protocol.
 
 
external resources
learning
- installing guide
 - cargo dep manager and build tool
 - rustfmt code style
 - rust standard library
 - rust docs
 - gentle intro to rust
 - ethereum foundation on rust
 - google rust course
 
developing
- beginner's guide to error handling in rust
 - publishing a crate in crate.ios
 - cargo book on tests
 - introducing foundry, by paradigm
 - invariant testing weth with foundry
 - comparison of rust async and linux thread switch time
 - dotenv array for dotenv vars
 - clap array for menu and argparse
 - reqwest higher-level HTTP Client.
 - tokio crate for async, multi-threading
 - serde crate for serializing
 - chrono crate for date and time
 - comfy-table pprint beautiful data tables
 - once_cell crate for single assignments cells
 - ndarray crate for matrices
 - hashmap crate using a hashing algorithm resistant against hashdos attacks
 - anyhow crate provides a trait to customize error handling
 
web3-related
- near api
 - ethers-provider
 - web3 ethereum JSON-RPC client
 - ether.js vs. ether-rs mempool stream benchmark
 - ring crate for boringSSL cryptographic primitives