zksync-web-era-docs
zksync-web-era-docs copied to clipboard
feat(docs): add more rust examples for interacting with contracts
The greeting
hello world example to interact with L2 smart contracts is too preliminary. This PR is adding an examples which involves tuples with multiple fields of different types and maps and nested maps in the solidity side.
What :computer:
Updates a single Readme doc on how to use Rust to interact with smart contracts.
Why :hand:
The documentation of web3 libraries is generally poor. So adding better examples saves a lot time from developers. It becomes worse when you need to know what works with ZkSync stuff as well and what might be troubling.
Evidence :camera:
I believe since this is just a doc update, this section is not applicable to this PR. But let me know if otherwise.