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
1answer
26 views

How to implement the CREATE2 in Python

I'd like to know either how to implement the skinny CREATE2 in Python or a package that provides it. This is the function I'm trying to port from TypeScript to Python. It calls generateAddress2 with ...
0
votes
0answers
23 views

which client produced the gasUsed on Etherscan?

There are many EVM implementations, such as js-EVM, Py-EVM and geth. So I was wondering which EVM implementation generated the gasUsed on Etherscan (i.e., the gasUsed got by using web3) ?
1
vote
0answers
18 views

This is a transaction How can I transfer money to my wallet? [closed]

https://photos.app.goo.gl/FaXwaKw2hH1wNuYy5enter link description here This is a transaction How can I transfer money to my wallet?
1
vote
0answers
69 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 ...
1
vote
2answers
71 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 ...
1
vote
2answers
39 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
140 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
533 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
286 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
76 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(...