Comments (10)
Wut? @9-9-9-9 The addresses in this project are also calculated via brute force.
The only two factors to consider in calculating the contract address are the deployer wallet address and the wallet nonce.
And you don't have to deploy to calculate the address, you can do it locally.
More info here:
https://ethereum.stackexchange.com/questions/760/how-is-the-address-of-an-ethereum-contract-computed
from vanity-eth.
@9-9-9-9 the target is generating an address with the ability to deploy a vanity contract in a given nonce.
from vanity-eth.
This project is kinda brute-force
so it is unable to do it with contract since you must deploy millions/billions contracts to fit your need. Nowadays, deploy a contract into ETH main net costs around $800 each
from vanity-eth.
@Siul293 idk about this, thanks man
from vanity-eth.
I currently don't have enough knowledge about contracts and contracts addresses, but I might work on it someday if I find enough free time.
from vanity-eth.
@Siul293 I see, so the target is to generate an address with ability to deploy a vanity contract
at nonce 2
Or better if can generate a vanity address
with ability to deploy a vanity contract
at nonce 2
Is that right?
from vanity-eth.
hey man @bokub , it's good to go now
const rlp = require('rlp');
const util = require('ethereumjs-util');
const addr = '0x6ac7ea33f8831ea9dcc53393aaa88b25a785dbf0'
const addressAsBytes = util.toBuffer(addr);
for (let nonce = 0; nonce <= 3; nonce++) {
let calculatedAddressAsBytes = util.keccak256(util.arrToBufArr(rlp.encode([addressAsBytes, nonce]))).slice(12);
console.log(`nonce${nonce}= "0x${calculatedAddressAsBytes.toString('hex')}"`);
}
/* Output:
nonce0= "0xcd234a471b72ba2f1ccf0a70fcaba648a5eecd8d"
nonce1= "0x343c43a37d37dff08ae8c4a11544c718abb4fcf8"
nonce2= "0xf778b86fa74e846c4f0a1fbd1335fe81c00a0c91"
nonce3= "0xfffd933a0bc612844eaf0c6fe3e5b8e9b6c1d19c"
*/
Test case from here referenced by @Siul293
from vanity-eth.
@Siul293 hey, it's here
https://github.com/9-9-9-9/Vanity-ERC20-Contract-Address-Generator
from vanity-eth.
If you don't mind using a command-line tool, MyEtherWallet's VanityEth also supports contract addresses.
from vanity-eth.
Great !!! Thanks
from vanity-eth.
Related Issues (20)
- Get Mnemonic Phrase? HOT 2
- Introduce my project based on vanity-eth project with performance increased HOT 6
- Paid help HOT 5
- Hello,
- Multiple prefix search
- appears to have found the back door HOT 6
- Change code in file src/js/vanity.js does not apply HOT 5
- Private Key Safety HOT 3
- private key security HOT 3
- Compromised addresses HOT 5
- Calculation-heavy webpage crashe,error code "out of memory" HOT 5
- command line use HOT 1
- Case sensitive HOT 1
- how to use it with GPU? HOT 7
- How to modify make it generate bitcoin addresses instead of ETH HOT 1
- High consumption of RAM memory
- Prefix AND Suffix support HOT 2
- Security questions HOT 5
- Feature request: Generate Seed Phrase HOT 1
- mind setting up a save system? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vanity-eth.