Skip to main content

No project description provided

Project description

Ranploy

License: MIT

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

Example

$ python main.py --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'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ranploy-0.0.2.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

ranploy-0.0.2-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file ranploy-0.0.2.tar.gz.

File metadata

  • Download URL: ranploy-0.0.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for ranploy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d36b1d7c91dad3fa817a42e167de6b0656b616f95f055ec1b8f305870056fef4
MD5 c591a8fa93f312023b773ddb2c9a7894
BLAKE2b-256 9513443e6b0c7e6e10ffacd334b4092aef507d848b9ce3d3a731cc6f4e6f168e

See more details on using hashes here.

File details

Details for the file ranploy-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ranploy-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for ranploy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 284913760fc196f83cf0ecdc27f54acf62c25d490dcb7c3094a7ebf6aeea46e7
MD5 c29153cc5b92045cd0cecbff8824448c
BLAKE2b-256 a765bbe582018d2e56cad4c073e56105517c3ce90a43b05d88d08391b03d6789

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page