Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [message]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
49 views

Getting Metamask Error Message into web3.js DApp after user rejects transaction

I'm building a simple HTML/JavaScript front-end to interact with a Smart Contract using web3.js and MetaMask. I have a function to call one of the methods in order to send a contribution to the Smart ...
0
votes
3answers
127 views

How do I make a smart contract send a message to a user along with a transaction?

Smart contracts can obviously send transactions through the Ethereum network but can they also send a simple message along with the transaction? Usaully you would put the message into hex code in the ...
0
votes
0answers
29 views

“Fork choice rule” and its unclear concepts

This article (Link to article) explains the "fork choice rule". The first figure after the section "Fork choice rule" is really confusing (along with its explanation). The first question is that: ...
0
votes
2answers
112 views

How the “data” field of transaction is saved in the Ethereum blockchain? [closed]

as I imagine there are 2 options: in pseudo language: 1) block.add(tx.data); block.calculate_hash_for_blockchain(); 2) block.add(some_hash_function(tx.data)); block.calculate_hash_for_blockchain(); ...
3
votes
2answers
304 views

What are some good alternatives to Whisper for blockchain messaging?

I have been experimenting with Ethereum and I achieved good results with Whisper in a private network. The main problem though is that it is pretty slow even when nodes are running in the same ...
1
vote
0answers
48 views

How to enable mail server (mailserver) when starting a whisper node by using “geth”?

As title, I can't find any flag about enabling the "mailserver" when starting whisper node. However, I found a Diagnostic Tool called "wnode":https://github.com/ethereum/go-ethereum/wiki/Diagnostic-...
1
vote
1answer
43 views

Is there any way to send a call message, requesting a transaction?

Example: The human owner of ERC20 wallet (X) owes the human owner of ERC20 wallet (Y) an amount of (T) ERC20. Is there any function that the owner of Wallet (Y) can send a request message to the ...
5
votes
1answer
694 views

Whisper: How to send a message from one node to another that is located on different host?

geth version: 1.8.15-unstable Python: 3.5 OS: osx/linux I have followed this answer. On the answer's approach, I observe that each node can only send message to itself and other nodes don't filter/...
1
vote
2answers
143 views

Is data stored in string form in smart contracts publicly readable?

As a beginner, I wrote the contract below for learning purposes, aiming to create a "Safe Messaging System": pragma solidity ^0.4.24; contract SafeMessage { string message; string password; string ...
0
votes
1answer
58 views

Do contract messages consume gas

In all sources it's stated that transactions cost gas. Since the distinction between a transaction and a message (some name it an internal transaction) is not so clear it couldn't be sure if messages ...
1
vote
0answers
23 views

How to trace the ethereum in a contract if messages are not written in the blockchain

The messages initiated by contracts are not stored in the blockchain, unlike transactions. If that's the case how can do we see where an ethereum in a contract or a wallet came from if it's from a ...
0
votes
3answers
125 views

Sending Ether or messages to addresses that dont exist

I am reading the Ethereum white paper and needed clarity on the snippet below: Transfer the transaction value from the sender's account to the receiving account. If the receiving account does not ...
1
vote
1answer
114 views

Solidity triggered event that shows a message to everyone who is currently in the site

Just a small question regarding how solidity event works. Let's say I have a function buyCandy(). At the end of the function I attached event: emit LogBuyCandy(msg.sender); event LogBuyCandy(address ...
4
votes
1answer
1k views

how get a revert message

I have this example contract. contract Example{ function foo(){ revert("hello world!!!"); } } When execute the foo function, this revert the tx, how get the revert message? ...
1
vote
0answers
146 views

Gas cost of a Message Call

I was trying to calculate the cost of a message call (CALL, DELEGATECALL, CALLCODE) following the yellow paper but I've not been able to fully understand it. It seems that Ccallgas is an isolated ...
1
vote
1answer
70 views

Execution environment variables Iw and Ie

According to the yellow paper, one of the Execution Environment variables is: Iw, the permission to make modifications to the state. I can't find further information about it, for example how it'...
3
votes
1answer
317 views

How to get a message from web3.shh using Python

Good afternoon. I'm trying to implement the "Status" at the moment. I use the library Web3.shh. I sent the message and gives the answer "True", but I can not receive all the messages on the other ...
0
votes
1answer
186 views

Can Contract Accounts send Messages to EOAs?

I often hear the following statement: Contract Accounts cannot send Messages to EOAs. They can only: 1. send Messages to other Contract Accounts 2. send Ether to EOAs ... see, e.g., here: Are ...
1
vote
0answers
117 views

How does whisper work in Ethereum?

I am trying to build a Dapp and I need to send messages between any two users. The messages would be used to reach a sort of private agreement between them. The agreement then could be published on ...
2
votes
1answer
90 views

Exchange messages between two clients of Dapp without spending gas?

Let's say that I want to build a Dapp such that users can exchange messages between each other. I guess you can consider it a chat Dapp. Is there any way for the two users to find the "address" of ...
1
vote
1answer
24 views

Do you spend gas to sign a message and send it to another client?

Let's say that I want to send the hash of a key to an entity and I want the entity to be sure that the hash could have come only from me. It is possible to create a message with the hash of the key ...
0
votes
1answer
300 views

Gas Requirement for Ethereum Message Signing

Is Gas required to sign a message using ethereum?
0
votes
1answer
187 views

How get nonce of smart contract account with JSON RPC function? eth_getTransactionCount only for EXTERNAL accounts right?

How get nonce of smart contract account with JSON RPC function? (Number of new smart contract accounts created by a smart contract account?) eth_getTransactionCount only for EXTERNAL accounts so won'...
2
votes
2answers
269 views

How do I send an arbitrary message to an ethereum address?

How can I send a message to another Ethereum address? And how would that user receiving know that its a message? Is there an Ethereum wallet that will show that I sent a message to that address? And ...
4
votes
1answer
256 views

How whisper messages being routed in Ethereum Network?

Does the Whisper messages are broadcasted to all Ethereum nodes? or is there any internal routing, if yes how?
1
vote
0answers
101 views

Alternate messaging infrastructure [closed]

How can organizations with existing messaging infrastructures integrate with Ethereum? For example, an organization with a large investment in Solace Messaging asked us how to integrate Ethereum ...
3
votes
3answers
1k views

Does a token-transfer always have a value of zero?

Usually a token-transfer has a (ETH) value of zero and the amount is encoded in the input-data payload. Some projects even distinguish between normal and other transfers by checking for zero: https://...
0
votes
1answer
86 views

Methods of attaching data to an ethereum address?

I'm trying to setup a system where you can attach a name and website url to an ethereum address. Then have it get called back in an ethereum block explorer I'm building. What are some ways where a ...
14
votes
5answers
8k views

How do you sign an verify a message in javascript proving you own an Ethereum address?

Is there a js library or even just pure js where I can sign and verify I own an Ethereum address?
6
votes
1answer
1k views

Why is my Whisper message not relayed in Status.IM

I've installed the test version of Status.IM and tried to message other fellow users who were willing to share their contact with me. However, the messages are always stuck in sending status: Why is ...
9
votes
1answer
229 views

How many topics can a whisper message have?

I'm thinking in a new DAPP that may use whisper extensively. To evaluate the viability of the DAPP, I need to know if there is a limit on the number of topics that a whisper message can have. I would ...
8
votes
1answer
1k views

Check if msg.value is even?

I'm trying to check whether the amount send by an account is even. For now, I have the code below but when I send only 1 ETH, it doesn't not come back. Seems odd (pun intended :p ) uint amount; ...
8
votes
3answers
869 views

Is it possible to get contract messages from Geth?

When I use the etherchain.org API to get all the transactions in a block, it also returns contract messages. For example for block 911516, this call returns 7 transactions: https://etherchain.org/...
56
votes
2answers
17k views

What's the difference between 'msg.sender' and 'tx.origin'?

If either are used in the body of a Solidity function that may change the state of a contract (write call), what's the primary difference and/or benefit of using one over the other. For example: ...
6
votes
2answers
805 views

Why does an empty message still invoke the code of the contract?

An empty message still invokes the code of the contract and is the mechanism that allows Solidity to implement a feature of a fallback function per contract. But when msg.data is empty, why does ...