3

The permission that you would set your account to would not be a key, but would instead be the account eosio.null@active. This is a special permission that can not be used by anybody ever (it has no associated keys and therefore can not be hacked). Note: This permission is implementation specific, so whilst it exists on the EOS mainnet, it could be that it ...


2

If you'd rather not want to use the command line or a wallet, I built a tool that lets you buy more RAM using credit card or crypto (Bitcoin, Bitcoin Cash, Ethereum, Litecoin). The tool is here: https://eos-account-creator.com/buyram/ I hope it's useful to some people.


2

require_auth(user) will ensure the sender of the transaction has the correct permission, which is what you're intending. Perhaps the way you're calling the action is incorrect? When using cleos push action ... the -p (or --permission) option allows you to specify the account authority you want to use.


2

You can't send money to a public key, because the same public key can be used for many accounts, and the code wouldn't know which account should receive the money. This is the same on any eos.io based blockchain. You can keep a record in one of your tables about which public key has what money associated with it, and then only send money to an account when ...


1

If several users need to be able to use this function, but they have to authorize themselves to use it, then you would write your function as follows: ACTION doctest1::hashin(eosio::name user, std::string h){ require_auth(user); print_f("my hash: %", h.c_str()); } Then the user would call the function as follows: cleos push action doctest1 hashin '["...


1

Genensis-accounts were created during the initial launch only and no new genesis-accounts will be created. The only way to get a genesis-account these days is to buy someone else's genesis-account.


1

You can use: const validateEos = (address) => { // can make lowercase: if(address.match(/[A-Z]/)) address = address.toLowerCase(); if(!/^[a-z1-5.]+$/.test(address)) { console.log('Contains an invalid character') return false; } if(address.match(/[.]/i)) { if(address.length !== 12) { console.log('...


1

Yes, it is possible. You can view the related EOS-JS documentation at the following link: https://github.com/EOSIO/eosjs/blob/e53c0e0bf791c22818ee3c9ea3592bcf1c0877ec/docs/2.-Transaction-Examples.md#create-new-account-multiple-actions Create New Account (multiple actions) const result = await api.transact({ actions: [{ account: 'eosio', name: '...


1

Have you tried adding the flag -p eosio@active to ensure that it's trying to utilize the correct auth? (I'm assuming that the wallet is unlocked and accessible and contains the correct keys)


1

Create simple contract for AccountB. Explanation: eosio.token::transfer uses require_recipient(to) which sends notification to the account/contract. What it effectively means is that your contract will execute action with eosio::on_notify("eosio.token::transfer") hook as inline action. ALL Inline actions need to succeed in order to transaction be valid. ...


1

Before answering your questions, let's clarify some things. Unlike Ethereum, EOS has the concept of accounts where your crypto currency would be lying. So, any transactions of EOS or any other EOS based token would be taken among accounts not wallets. Here, wallets are only used to store your private and public keys which are used to set permissions. 1) Why ...


1

There was an opened issue in the repository. It was fixed today. You can get the updated eoslime code from the development branch. The fix is going to be uploaded on master branch and npm through the next week


1

Everything you need should be here, however you will need to install cleos on the machine first. This is a command line utility, I'm unaware of any native php eos libraries.


Only top voted, non community-wiki answers of a minimum length are eligible