Home

Awesome

Pr000xy

banner

GitHub Build Status standard-readme compliant PRs Welcome

Pr000xy - a public utility ERC20 for creating & claiming transparent proxies with gas-efficient addresses (i.e. with extra zero bytes) as well as with custom vanity addresses.

Pr000xy is a public utility ERC20 for creating & claiming transparent proxies with gas-efficient addresses. Tokens are minted when specific salts or nonces are submitted that result in the creation of new proxies with more zero bytes than usual. They are then burned when transferring ownership of those proxies from the contract to the claimer. Pr000xy also allows for offers to be placed on matching proxy addresses to a set of conditions (i.e. finding custom vanity addresses). For creating arbitrary contracts with gas-efficient addresses yourself, you can use Create2Factory.

DISCLAIMER: DO NOT HODL THIS TOKEN! Pr000xy may technically be an ERC20 token, but makes for a TERRIBLE "investment" for a whole bunch of reasons, such as:

TO REITERATE: this is an experiment and should NOT be considered an investment of any kind! There is no ICO or token sale - don't be a giver-of-ETH to a scammer.

More details, including a derivation of the value of each address based on rarity and examples of how gas-efficient addresses can be put to use, can be found here.

Pr000xy on Ropsten: 0x000000009a9fc3ac5280bA0D3eA852E57DD2ac1b (Solidity 0.5.1, 33333 optimization runs) Create2Factory on Ropsten: 0xa779284f095ef2eBb8ee26cd8384e49C57b26996

Table of Contents

Install

To install Pr000xy locally, you'll need Node.js 10+, Yarn (or npm), and Docker (which runs geth in "dev" mode - you can also run geth directly or use another Constantinople-compatible testRPC). To get everything set up:

$ git clone https://github.com/0age/Pr000xy.git
$ cd Pr000xy
$ yarn install
$ docker pull ethereum/client-go
$ yarn build

Usage

In a new terminal window, start the testRPC, run tests, and tear down the testRPC (you can do all of this at once via yarn all if you prefer):

$ yarn start
$ yarn test
$ yarn linter
$ yarn verify # check contract source code against Ropsten contract
$ yarn stop

There's also a basic script to mine Pr000xy (on Ropsten), available via $ yarn mine $CALLER_ADDRESS.

API

See Pr000xyInterface.sol.

Maintainers

@0age

Contribute

PRs accepted gladly - make sure the tests and linters pass.

License

MIT © 2019 0age