8000 GitHub - cleanunicorn/ranploy: Generate tx data payload to deploy any random hex string to Ethereum as a smart contract
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cleanunicorn/ranploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ranploy

License: MIT Codacy Badge PyPI Code style: black Maintainability Rating

Tool to generate the transaction payload data that will deploy a random hex string as a smart contract.

Install

$ pip install --user ranploy

Demo

asciicast

Example

$ ranploy --bytecode 11223344
6004600d60003960046000f30011223344

You then need to create a transaction and use this as the payload data

web3.eth.sendTransaction({
    from: "0x8d26D6d498a01243820154c7Ddb63b47c00DbF6e",
    data: "0x6004600d60003960046000f30011223344"
})

Your contract will have this bytecode

web3.eth.getCode("0xDdB083baD281D7242FF69E36c7565b003785cb1A")
'0x11223344'

About

Generate tx data payload to deploy any random hex string to Ethereum as a smart contract

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0