Closed realcodywburns closed 5 years ago
Changing chainid
to id
for brevity. Addational space can also be saved by using iban address vs account hex.
sounds like an awesome idea to make interaction stupidily simple!
@realcodywburns actually i think it should remain chainid
to avoid confusion with network id.
What about v
or cid
?
@realcodywburns
function getETC(){
require(block.number-payoutDrip >= payoutRate);
msg.sender.transfer(dropValue);
}
====Example====
Contract C is at 0xdeadbeef... and has the following psudo function:
Contract C requires no inputs and only requires enough gas to preform its functions. The byte code for >this function can be derived using
web3
as:web3.sha3("getETC()");
which yeilds:
0x023b88685d10d29e0bf0563e4ab1b9d8fc8333c166705be5538c4b079cdd9af0
The information that will be passed in the byte code field would then be:
code=0x023b88685d
I think that if you need to pass the function signature then it should be 0x023b8868
but not 0x023b88685d .
I updated, it should only be the left most 4 bytes
@realcodywburns i still prefer chainId for consistency, but it's not a dealbreaker or anything :)
Closing, this repo is depreciated . To be reopened on http://github.com/ethereumclassic/ECIPs
Abstract
This ECIP proposes a URI scheme for interacting with ethereum contract and accounts in a standard format.
Motivation
The purpose of this URI scheme is to enable users to easily make payments and interact with smart contracts by simply clicking links on webpages or scanning QR Codes.