Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 192 characters in body
Source Link
Mary
  • 21
  • 3

I want to create an ERC20 token that prevent all wallets from holding more than 1%, the reason for this is to prevent holders from holding big quantities in one single wallet(they can hold in more than one wallet, it's ok).

This can be done through checking the balance of the receiver before the transaction.

But i certainly need to create some exceptions for this? Because if i want to send a certain exchange let's say 5% of the total supply, or lock 5% in a locker wallet, then i need to make exceptions for those wallets.

1- What is the best way to go through this ?

2- Is it recommended ?

3- Do you think it is safe ?

Thanks for helping

Edit: I think i fond a solution, which is to give only the owner the exception to overcome the 1% rule, this way he can send the other wallets the required amounts.

All opinions is welcome.

I want to create an ERC20 token that prevent all wallets from holding more than 1%, the reason for this is to prevent holders from holding big quantities in one single wallet(they can hold in more than one wallet, it's ok).

This can be done through checking the balance of the receiver before the transaction.

But i certainly need to create some exceptions for this? Because if i want to send a certain exchange let's say 5% of the total supply, or lock 5% in a locker wallet, then i need to make exceptions for those wallets.

1- What is the best way to go through this ?

2- Is it recommended ?

3- Do you think it is safe ?

Thanks for helping

I want to create an ERC20 token that prevent all wallets from holding more than 1%, the reason for this is to prevent holders from holding big quantities in one single wallet(they can hold in more than one wallet, it's ok).

This can be done through checking the balance of the receiver before the transaction.

But i certainly need to create some exceptions for this? Because if i want to send a certain exchange let's say 5% of the total supply, or lock 5% in a locker wallet, then i need to make exceptions for those wallets.

1- What is the best way to go through this ?

2- Is it recommended ?

3- Do you think it is safe ?

Thanks for helping

Edit: I think i fond a solution, which is to give only the owner the exception to overcome the 1% rule, this way he can send the other wallets the required amounts.

All opinions is welcome.

deleted 4 characters in body
Source Link
Mary
  • 21
  • 3

I want to create an ERC20 token that prevent a single walletall wallets from holding more than 1%, the reason for this is to prevent holders from holding big quantities in one single wallet(they can hold in more than one wallet, it's ok).

This can be done through checking the balance of the receiver before the transaction.

But i certainly need to create some exceptions for this? Because if i want to send a certain exchange let's say 5% of the total supply, or lock 5% in a locker wallet, then i need to make exceptions for those wallets.

1- What is the best way to go through this ?

2- Is it recommended ?

3- Do you think it is safe ?

Thanks for helping

I want to create an ERC20 token that prevent a single wallet from holding more than 1%, the reason for this is to prevent holders from holding big quantities in one single wallet(they can hold in more than one wallet, it's ok).

This can be done through checking the balance of the receiver before the transaction.

But i certainly need to create some exceptions for this? Because if i want to send a certain exchange let's say 5% of the total supply, or lock 5% in a locker wallet, then i need to make exceptions for those wallets.

1- What is the best way to go through this ?

2- Is it recommended ?

3- Do you think it is safe ?

Thanks for helping

I want to create an ERC20 token that prevent all wallets from holding more than 1%, the reason for this is to prevent holders from holding big quantities in one single wallet(they can hold in more than one wallet, it's ok).

This can be done through checking the balance of the receiver before the transaction.

But i certainly need to create some exceptions for this? Because if i want to send a certain exchange let's say 5% of the total supply, or lock 5% in a locker wallet, then i need to make exceptions for those wallets.

1- What is the best way to go through this ?

2- Is it recommended ?

3- Do you think it is safe ?

Thanks for helping

Source Link
Mary
  • 21
  • 3

ERC20 token that prevent all wallets from holding more than 1% of the total supply, but with exceptions to some wallets?

I want to create an ERC20 token that prevent a single wallet from holding more than 1%, the reason for this is to prevent holders from holding big quantities in one single wallet(they can hold in more than one wallet, it's ok).

This can be done through checking the balance of the receiver before the transaction.

But i certainly need to create some exceptions for this? Because if i want to send a certain exchange let's say 5% of the total supply, or lock 5% in a locker wallet, then i need to make exceptions for those wallets.

1- What is the best way to go through this ?

2- Is it recommended ?

3- Do you think it is safe ?

Thanks for helping