Docs.rs
ethereum-rust-utils-0.0.2
ethereum-rust-utils 0.0.2
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
tritone11
Dependencies
aes-ctr ^0.1
normal
bitcoin ^0.13.2
normal
byteorder ^1.2
normal
chrono ^0.4
normal
clippy ^0.0
normal
dirs ^1.0.4
normal
emerald-rocksdb ^0.10.3
normal
ethabi ^2.0.0
normal
ethereum-types ^0.4
normal
futures ^0.1
normal
glob ^0.2
normal
hex ^0.3
normal
hidapi ^0.4
normal
hmac ^0.6
normal
hyper ^0.12
normal
jsonrpc-core ^8.0
normal
jsonrpc-http-server ^8.0
normal
lazy_static ^1.0
normal
log ^0.4
normal
num ^0.2
normal
pbkdf2 ^0.2
normal
rand ^0.3
normal
regex ^1.0
normal
reqwest ^0.9
normal
rlp ^0.2.2
normal
rust-crypto ^0.2
normal
scrypt ^0.1
normal
secp256k1 ^0.9
normal
serde ^1.0
normal
serde_derive ^1.0
normal
serde_json ^1.0
normal
sha2 ^0.7
normal
sha3 ^0.7
normal
time ^0.1
normal
tiny-keccak ^1.4.2
normal
uuid ^0.5
normal
quickcheck ^0.6
normal
tempdir ^0.3
normal
Versions
This release has been yanked
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
ethereum_rust_utils
[
−
]
[src]
Function
ethereum_rust_utils
::
to_chain_id
pub fn to_chain_id(name: &
str
) ->
Option
<
u8
>
Get chain id by chain name
Arguments:
name
- target chain name