This is a smart contract for EOS specifically designed for people who have their EOS on an exchange and don't have their own EOS account yet. It removes the need for a third-party like a friend or an account creation service. Since it's a smart contract, the account creation happens instantly, automatically and trustless.
Send at least 3 EOS to the contract which is deployed at the EOS account accountcreat
. In the memo,
you give the desired account name, the owner public key and the active public key separated by the :
character.
For example, if your account name is mynewaccount
, your owner key is EOS6ra2QHsDr6yMyFaPaNwe3Hz8XmYRj3B68e5tbDchyPTTasgFH9
and your active key is EOS8WcL1CroNrXfdphkohCmea1Jgp7TpqQXrkpcF1gETweeSnphmJ
, the memo string would be:
mynewaccount:EOS6ra2QHsDr6yMyFaPaNwe3Hz8XmYRj3B68e5tbDchyPTTasgFH9:EOS8WcL1CroNrXfdphkohCmea1Jgp7TpqQXrkpcF1gETweeSnphmJ
If you want to use the same key for owner and active. The second key including the :
separator can be omitted.
So that would be a valid memo string as well:
mynewaccount:EOS6ra2QHsDr6yMyFaPaNwe3Hz8XmYRj3B68e5tbDchyPTTasgFH9
If you need help, visit the EOS Account Creator Website. It will assist you in generating they keys and building the correct memo string.
When you withdraw your EOS to the accountcreat smart contract, it will perform the following steps in order:
- Create a new account using your specified name, owner key and active key
- Buy 4KB of RAM for your new account with parts of the transferred EOS. Every account that is created on the EOS network needs 4 KB of RAM to exist.
- Delegate and transfer 0.1 EOS for CPU and 0.1 EOS for NET.
- Deduct our fee of 0.5% or a minimum of 0.1 EOS and forward the remaining EOS balance to your new account.
Should any of the above actions fail, the transaction will be rolled back which means the money will automatically be refunded to you.
If you want to use this code or need help modifying it to your needs, please contact me at: hello@eos-account-creator.com
If you want to review the code, that would be great. It's important for the community to have peer-reviewed, trusted, account creation smart contract code. Quick note to anyone wanting to verify the deployment (as there is no such things as etherscan yet, where you can upload the code): The code currently deployed on accountcreat
is compiled with -Oz
to save RAM.