All Projects → gakonst → Ethers Rs

gakonst / Ethers Rs

Licence: other
Complete Ethereum & Celo library and wallet implementation in Rust. https://docs.rs/ethers

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Ethers Rs

Awesome Web3
🚀 A curated list of tools, libs and resources to help you build awesome dapps
Stars: ✭ 104 (-28.28%)
Mutual labels:  ethereum, web3
Metamask Mobile
Port of MetaMask Ethereum Ðapp browser for mobile devices (iOS only for now)
Stars: ✭ 119 (-17.93%)
Mutual labels:  ethereum, web3
Truffle Assertions
🛠 Assertions and utilities for testing Ethereum smart contracts with Truffle unit tests
Stars: ✭ 109 (-24.83%)
Mutual labels:  ethereum, web3
Blockchainbooks.github.io
Blockchain Books
Stars: ✭ 139 (-4.14%)
Mutual labels:  ethereum, web3
Hs Web3
Web3 API for Haskell.
Stars: ✭ 127 (-12.41%)
Mutual labels:  ethereum, web3
Starter Kit
An OpenZeppelin starter kit containing React, OpenZeppelin SDK & OpenZeppelin Contracts.
Stars: ✭ 101 (-30.34%)
Mutual labels:  ethereum, web3
Cyb Archeology
🌎 Personal immortal robot for the The Great Web
Stars: ✭ 117 (-19.31%)
Mutual labels:  ethereum, web3
Connect
(Aragon 1) Seamlessly integrate DAO functionality into web and node.js apps.
Stars: ✭ 81 (-44.14%)
Mutual labels:  ethereum, web3
Cyb
Immortal robot for the Great Web
Stars: ✭ 126 (-13.1%)
Mutual labels:  ethereum, web3
Ethvtx
🌀🛰 ethereum-ready & framework-agnostic redux store configuration
Stars: ✭ 125 (-13.79%)
Mutual labels:  ethereum, web3
Myetherapi
An API by MyEtherWallet. ETH / Ropsten / JSON RPC / Web3
Stars: ✭ 95 (-34.48%)
Mutual labels:  ethereum, web3
Awesome Solidity
⟠ A curated list of awesome Solidity resources, libraries, tools and more
Stars: ✭ 3,078 (+2022.76%)
Mutual labels:  ethereum, web3
Dapp
Censorship resistant democracies.
Stars: ✭ 1,326 (+814.48%)
Mutual labels:  ethereum, web3
Web3 Vs Ethers
A basic cheatsheet of Web3.js vs Ethers (along w/ example apps!)
Stars: ✭ 103 (-28.97%)
Mutual labels:  ethereum, web3
Cljs Web3
Clojurescript API for Ethereum Web3 API
Stars: ✭ 84 (-42.07%)
Mutual labels:  ethereum, web3
Ipfs Mini
A super tiny module for querying IPFS that works in the browser and node.
Stars: ✭ 115 (-20.69%)
Mutual labels:  ethereum, web3
Marketprotocol
Ethereum based derivatives trading protocol creating digital tokens for any asset
Stars: ✭ 78 (-46.21%)
Mutual labels:  ethereum, web3
Trust Wallet Ios
📱 Trust - Ethereum Wallet and Web3 DApp Browser for iOS
Stars: ✭ 1,228 (+746.9%)
Mutual labels:  ethereum, web3
Go Web3
Ethereum Go Client [obsolete]
Stars: ✭ 120 (-17.24%)
Mutual labels:  ethereum, web3
Elm Ethereum
dApps in Elm
Stars: ✭ 129 (-11.03%)
Mutual labels:  ethereum, web3

ethers.rs

Complete Ethereum and Celo wallet implementation and utilities in Rust

Github Actions

Documentation

Extensive documentation and examples are available here.

Alternatively, you may clone the repository and run cd ethers/ && cargo doc --open

Add ethers-rs to your repository

[dependencies]

ethers = { git = "https://github.com/gakonst/ethers-rs" }

Running the tests

Tests require the following installed:

  1. solc. We also recommend using solc-select for more flexibility.
  2. ganache-cli

In addition, it is recommended that you set the ETHERSCAN_API_KEY environment variable for the abigen via Etherscan tests. You can get one here.

Celo Support

Celo support is turned on via the feature-flag celo:

[dependencies]

ethers = { git = "https://github.com/gakonst/ethers-rs", features = ["celo"] }

Celo's transactions differ from Ethereum transactions by including 3 new fields:

  • fee_currency: The currency fees are paid in (None for CELO, otherwise it's an Address)
  • gateway_fee_recipient: The address of the fee recipient (None for no gateway fee paid)
  • gateway_fee: Gateway fee amount (None for no gateway fee paid)

The feature flag enables these additional fields in the transaction request builders and in the transactions which are fetched over JSON-RPC.

Features

  • [x] Ethereum JSON-RPC Client
  • [x] Interacting and deploying smart contracts
  • [x] Type safe smart contract bindings code generation
  • [x] Querying past events
  • [x] Event monitoring as Streams
  • [x] ENS as a first class citizen
  • [x] Celo support
  • [x] Websockets / eth_subscribe
  • [x] Hardware Wallet Support
  • [x] Parity APIs (tracing, parity_blockWithReceipts)
  • [x] Geth TxPool API
  • [ ] WASM Bindings
  • [ ] FFI Bindings
  • [ ] CLI for common operations

Getting Help

First, see if the answer to your question can be found in the API documentation. If the answer is not there, try opening an issue with the question.

Join the ethers-rs telegram to chat with the community!

Contributing

Thanks for your help improving the project! We are so happy to have you! We have a contributing guide to help you get involved in the ethers-rs project.

Related Projects

This library would not have been possibly without the great work done in:

A lot of the code was inspired and adapted from them, to a unified and opinionated interface, built with async/await and std futures from the ground up.

Projects using ethers-rs

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].