We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [py-evm]

a developer tool to execute the EVM in python, primarily used by the python client: trinity

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

Deploy contract in py-evm

I have a pretty dummy contract: pragma solidity ^0.4.16; contract Ballot { struct Voter { uint weight; // weight is accumulated by delegation } } Compiled with remix I receive the ...
0
votes
0answers
31 views

How to execute contract call transaction using py-evm?

Assume that A is EOA and B is CA. My accomplish is EOA invokes transaction which calls 'add(int256)' method. So first I built test chain like here: GENESIS_PARAMS = { 'parent_hash': constants....
1
vote
2answers
47 views

Get values from stack when certain Opcode is called

I am currently trying to use genetic algorithms to automatically generate test cases that for ethereum smart contracts similar to https://ieeexplore.ieee.org/abstract/document/7840029>this paper. In ...
0
votes
1answer
25 views

Are current ethereum opcodes prices in pyethereum updated?

I am not an expert in opcodes for Ethereum, but I am wondering if their prices here [https://github.com/ethereum/pyethereum/blob/develop/ethereum/opcodes.py] are updated as the latest version used by ...
1
vote
0answers
109 views

How to create private chain in trinity / py-evm?

I am doing academic research using ethereum and want to use trinity / py-evm for the same. I have installed trinity and py-evm now next steps for me is to create a private chain and write some ...
2
votes
1answer
317 views

What is pyethereum?

I have seen a definition here saying: "This is the Python core library of the Ethereum project" So what is it's use? To develop dapps using python on the ethereum network?
2
votes
1answer
212 views

What advantages does Trinity have over Geth or Parity? What differences does it have?

With the exception of the language it is being written in, what are the main differences that Trinity has over Geth or Parity (if any). What advantages does it have? Disadvantages?
2
votes
1answer
52 views

py-evm output with extra bytes

I have simple smart contract pragma solidity ^0.4.17; contract Inbox { string public message; constructor() public payable { message = "Hi there!"; } function setMessage(...