- Notifications
You must be signed in to change notification settings - Fork10
A public utility ERC20 for creating & claiming transparent proxies with gas-efficient addresses.
License
0age/Pr000xy
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 & claimingtransparent 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 creatingarbitrary contracts with gas-efficient addresses yourself, you can useCreate2Factory.
DISCLAIMER: DO NOT HODL THIS TOKEN!Pr000xy
maytechnically be an ERC20 token, but makes for a TERRIBLE "investment" for a whole bunch of reasons, such as:
- Thecode is unaudited, mostly untested, and highly experimental, and soshould not be considered secure by any measure (this goes for placing offers as well - don't put up any offer that you're not prepared to lose),
- The token itself ishighly deflationary, meaning that it willalmost certainly decrease in value as address mining becomes more efficient (especially as GPU and ASIC address miners are developed),
- The token's value will behighly volatile andtotal supply will fluctuate greatly, as creation of new, comparatively rare addresses will issue a massive number of tokens at once,
- The token will bevulnerable to "shadow mining", where miners can wait to submit discovered addresses and instead submit a large group all at once, making it a target for manipulation,
- Thetoken contract itself will likely become obsolete as better methods for discovering CREATE2 addresses become available and new versions or competing solutions come online... and no, there will beno way to "convert your tokens to the new version", because
- There'sno organization, group, collective, or whatever backing the tokens, and they'renot a claim on any asset, voting right, share, or anything at all except for that they can be burned in order to take ownership of an unclaimed upgradeable proxy of equivalent value.
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 foundhere.
Pr000xy
on Ropsten:0x000000009a9fc3ac5280bA0D3eA852E57DD2ac1b (Solidity 0.5.1, 33333 optimization runs)Create2Factory
on Ropsten:0xa779284f095ef2eBb8ee26cd8384e49C57b26996
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
In a new terminal window, start the testRPC, run tests, and tear down the testRPC(you can do all of this at once viayarn all
if you prefer):
$ yarn start$ yarntest$ yarn linter$ yarn verify# check contract source code against Ropsten contract$ yarn stop
There's also a basic script to minePr000xy
(on Ropsten), available via$ yarn mine $CALLER_ADDRESS
.
PRs accepted gladly - make sure the tests and linters pass.
MIT © 2019 0age
About
A public utility ERC20 for creating & claiming transparent proxies with gas-efficient addresses.