Questions tagged [rust]

Rust is a language designed for writing highly reliable and fast software in a simple way. It can be used from high-level code down to hardware-specific code, and from big irons to tiny devices.

Filter by
Sorted by
Tagged with
1
vote
0answers
14 views

Rust: Need both events when a transaction is sent and when is confirmed

Rust. For a method send() of a smart contract I need to process both events when the transaction is sent (and generates txhash) and when it is confirmed. From https://docs.rs/ethcontract/0.7.2/...
0
votes
0answers
11 views

Plans to migrate go-ethereum to rust-ethereum?

Is anyone planning to migrate go-ethereum to rust-ethereum? Rust with all its features such as zero-cost abstractions, safe memory management, fearless concurrency really outshines Go. Nathan Aw (...
0
votes
1answer
73 views

Smart Contract Transfer Event Log Data & transfer _value [Rust]

I'd like to have a better understanding of events and logs data, more specifically when it comes to interacting with ERC20 tokens smart contracts and their Transfer events. I'm looking for a way to ...
2
votes
1answer
570 views

How to generate public key from private key in Rust?

How to generate Ethereum public key from private key in Rust? I found rust-secp256k1 and it seems to be what I need, but there is no documentation at all, which makes this crate for me, Rust newbie, ...
2
votes
0answers
58 views

Can paritytech/parity be used as a library the same way that go-ethereum can be used in Go?

The go-ethereum project is divided into a set of standalone libraries that can be used in any Go project (e.g. smart contract interaction, keystore management, common cryptography and hex utils) Can ...
4
votes
3answers
706 views

How to sign a transaction in Rust

Given a private key, I would like to sign a transaction offline, so it can be sent to a node or Infura without unlocking an account first. I can find many examples in javascript using ethereumjs-tx ...
1
vote
1answer
287 views

Comparing Rust and Solidity hash of big number or hex

I noticed that if I hash ordinary string using Rust and web3.sha3 I would get the same result. But if the number is big number or hex which would necessitate the inclusion of {encoding: 'hex'} as ...
1
vote
1answer
535 views

How to run ethkey under Parity

I want to run ethkey under Parity with this answer. But when I run the first command cargo build --release -p ethkey --features=ethkey-cli under the parity source folder, it returns: error: ...
4
votes
2answers
854 views

Using Rust to call Geth's RPC interface

Given the code below, geth returns: {"jsonrpc":"2.0","id":"1","error":{"code":-32602,"message": "json: cannot unmarshal object into Go value of type []interface {}"}} The code connects to geth, but ...
3
votes
1answer
948 views

Parity installation problem in OSX

During the installation I've got at the end this: Last 15 lines from /Users/maksim/Library/Logs/Homebrew/parity/02.multirust: Compiling serde v0.7.4 Compiling itertools v0.4.13 Compiling bytes v0....