Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 31933

A token is a transferable, divisible object on the blockchain, such as a subcurrency or a prediction market share.

1 vote

How to choose number of decimal places for token

Use that unless you have some real reason to do otherwise - all integrations are easier if you use 18 like most other tokens. Some tokens, especially stablecoins, use less decimals. …
Lauri Peltonen's user avatar
0 votes

Which tokens exists on Polygon network?

The list you found is simply a list of tokens, sorted by their circulating market cap (in dollars). Having a big (and steady) dollar market cap is a good indicator that the token is not a scam token. … But in general, if you know which tokens you want to include, I would search the project's home pages for the contract addresses. I would not trust a listing like that - it can be manipulated. …
Lauri Peltonen's user avatar
0 votes

How to go about building a spam sniper bot on ethereum

In general, you have the best control over transaction positioning if you send it privately, outside the typical mempool. So using something like Flashbots. Although I'm not sure what kind of function …
Lauri Peltonen's user avatar
1 vote

Unknown tokens not possible to sell and buy

Anyone can send you tokens. You can't stop it. Malicious actors sometimes create malicious tokens and send them to random users. … So whenever you see weird tokens in your wallet you can just ignore them. It doesn't mean that you would be hacked. …
Lauri Peltonen's user avatar
2 votes

Wrong network at the transaction

The only entity that can help you with this is Revolut. If they have have access to address X on one EVM network they also, in theory, have access to it in any other EVM network. Althought there's a b …
Lauri Peltonen's user avatar
0 votes

Viewing all cryptocurrencies on a single wallet via its seed phrase

A seed phrase gives you a private key, which gives you a public address. What you want is to check assets that belong to that public address. Unfortunately, checking assets for an address is not trivi …
Lauri Peltonen's user avatar
0 votes
Accepted

Is this method technically and logically correct?

No that's not good. If the site generates the wallet for the user, it either has to send the corresponding private key to the user or manage the wallet itself. Both are bad options for various reasons …
Lauri Peltonen's user avatar
0 votes

Does anyone know why this still reverts?

Since you're using version 0.4.x there is no underflow protection by default. So things underflow unless checks are added explicitly. So something like this underflows just fine: pragma solidity 0.4.2 …
Lauri Peltonen's user avatar
0 votes
Accepted

some one stolen my all token from my smart contract

Your contract is relying on a password, which is set in the constructor. The password variable field is marked as private. Nothing in Ethereum is private. All data is public. Using a contract variable …
Lauri Peltonen's user avatar
0 votes
Accepted

regarding the access of funds during an ongoing token presale of my token

It all depends on the contract you use for the presale. If the contract has functionality for you to withdraw funds at some point, then you can do it. If it doesn't have such functionality, you obviou …
Lauri Peltonen's user avatar
1 vote

How to embed information into an NFT of its type/class?

I'd say it depends. This kind of things can either be at the contract level or in the metadata. Metadata is the data which is usually pointed at with an URI inside the contract, and the metadata conte …
Lauri Peltonen's user avatar
3 votes
Accepted

Does casting a Keccak256 hash to a uint256 increase likelihood of a collision?

A keccak256 string has a length of 256 bits. Obviously, uin256 also has 256 bits. Since they both have the same length, there shouldn't be any problems when converting them even back and forth. I real …
Lauri Peltonen's user avatar
1 vote
Accepted

Metamask balance

One of the formats is used to query "which tokens does address X own". Metamask then queries for that data whenever new blocks are received. …
Lauri Peltonen's user avatar
3 votes
Accepted

NEED help - MEV bots attacking our liquidity pools - how to counter or block the MEV bots?

And, in my opinion, you shouldn't try to add MEV protections to your tokens themselves anyway. … Tokens should be really simply and old include minimum logic. …
Lauri Peltonen's user avatar
0 votes

How get the mint price from contract and max supply not total supply

There aren't any standards (at least any that would be in use) for setting the mint price. So everyone implements it in their own way. Therefore there is no universal way to retrieve it - and many con …
Lauri Peltonen's user avatar

1
2 3 4 5
10
15 30 50 per page