Questions tagged [tokens]
A token is a transferable, divisible object on the blockchain, such as a subcurrency or a prediction market share.
2,444
questions
0
votes
0
answers
5
views
Missing transaction
MISSING TRANSACTION
I have no idea what went wrong here but I had tried to send two tokens to my coinbase wallet from my crypto. Com defi wallet . And it never arrived . I also messed up and sent a ...
0
votes
0
answers
11
views
do LP and Swap by using uiniswap V2 in Sepolia Testnet
I deployed a contract on the Sepolia Testnet to facilitate Liquidity Provision (LP) and swapping using Uniswap V2. The deployed contract can be found at the address: https://sepolia.etherscan.io/...
0
votes
1
answer
22
views
Visual Studio Code
Can I use visual studio code for the testing and debugging of my smart contact, remix doesn’t seem to work for me
0
votes
1
answer
14
views
Unknown tokens not possible to sell and buy
guys!
I habe 4 unknown tokens hidden in my wallet! I can not buy and sell them but there are two sites like „OP Etherscan“ and „contract“ where I can click on it.
Of course I did not click on it. I ...
0
votes
0
answers
8
views
New token no name or call sign?
I created a new token on the Polygon net and got it all worked out, showing in my wallet, and confirmed by etherscan (I did this all in remix). But now if we go to the token in the polygonscan it wont ...
0
votes
0
answers
13
views
Unable to swap scam token on uniswap but you can transfer a coin [duplicate]
I put money in a scam token on the ethereum blockchain, and when I wanted to withdraw it, the transaction is constantly canceled and the error "Replacement failed" comes out. You can't make ...
0
votes
2
answers
27
views
Bought tokens which appear to be in my wallet on bscscan, but my metamask wallet says 0
I swapped some tokens on uniswap, with just a small amt to test, and it appears that the tokens are in my wallet when I look on bscscan:
https://bscscan.com/tx/...
0
votes
2
answers
24
views
Smart contract creation
I just joined because I am trying to learn how to create Solidity contracts using OpenZepplin.
I am using also claude AI to guide me but it has a limit and it's going in circles now.
Until now I ...
0
votes
1
answer
13
views
How to call erc721 functions (approve, setApprovalForAll etc.) from another contract?
I have an erc721 NFT and a Main contract. The Main Contract is a factory contract. Which creates erc 721 contracts. I can create NFT contract from Main contract . But can't call the approve, ...
0
votes
0
answers
11
views
Custom Taxation Logic Not Functioning on Token Contract - Previously Deployed Contract Exhibited Proper Functionality
I'm encountering an issue with the custom taxation logic implemented on my token contract. Interestingly, I've deployed a similar contract last year with the same logic, and it was functioning ...
0
votes
0
answers
11
views
i want to transfer amount from ride booking to ride owner so getting error
// RideSharingContract.sol
pragma solidity ^0.8.0;
contract RideSharingContract {
address public owner;
event RideCreated(address indexed creator, uint256 indexed rideId, string source, ...
0
votes
0
answers
6
views
metamask transfer amount different to etherscan amount
bought a erc-20 token on uniswap using my ledger account on metamask. when i got tokens i transferred them to another account on the same wallet. the amount that appeared was much less that was sent ...
1
vote
1
answer
14
views
How to Securely Call Internal Functions from a Factory Contract in Solidity?
I have two Solidity contracts: a token contract and a token factory contract. The token factory contract is responsible for deploying various tokens. Within the token contract, I have defined mint and ...
0
votes
0
answers
4
views
Wrong deposit in KuCoin. The depositor sent the deposit to the contract address
The depositor sent the deposit to the contract address. Is there a way to know who the owner of the contact address is?
0
votes
0
answers
11
views
I have sent SYN tokens and are stuck in my ETH wallet. What can I do?
I have my SYN tokens stuck in my ETH wallet and can see them in etherscan. Anyway to send them out back to the original address the tokens weren't sent from?
0xF66Bd3fa316aBD9c44492bc92AefC90652AE9311
...
0
votes
1
answer
26
views
How to write unit test with Timestamp base function?
I writing a contract for Staking Token to earn Token. It's similar to pancake MasterChef. The requirement is based on timestamp (not block). When I test the contract with hardhat, I call the deposit ...
1
vote
1
answer
35
views
I'm having trouble sending token1 to a pair address and receiving token0
I am trying to make a swap directly via the pair address without a router.
I'm trying to get token0 by sending token1.
The amount of token0 I will receive does not matter, but when I run the node.js ...
1
vote
0
answers
33
views
Rebase algorithm
I'm building a rebase token and need some help with the algorithm. These are the variables, constants, and constraints (the values themselves are just examples):
Set of variables 1:
a1 = ...
0
votes
0
answers
17
views
Can we send tokens to BSC pair address and receive tokens in return?
We're almost at war with ChatGPT :)
For example, when we send 1 busd to a pair address, such as BUSD/WBNB, won't the pair address directly give us WBNB in return?
Chatgpt says it gives one, it doesn't ...
0
votes
1
answer
20
views
My transaction was reverted but my funds were never returned back to my wallet
My transaction failed with error code displaying “REVERTED”. My funds were never sent back to my wallet. When I try to claim on Uniswap says not supported. I run updated version, I have tried ...
0
votes
0
answers
17
views
Best way to integrate blockchain to web app
I am developing this web app to track work with the hopes of integrating the blockchain to record it. The user would submit data through a form and each node hopes to track both users, amount of ...
0
votes
2
answers
25
views
How to get which tokens have been transferred by a transaction using ethers or Web3?
Given for example this transaction, is there a way of getting exactly what ERC721 tokens have been transferred by it?
To clarify, it would be this detail here:
Is it possible to get this information ...
0
votes
0
answers
9
views
I wana write Equity Token smart contract for Multiple Companies with there Corporate Action
**How can I design an equity token standard that accommodates multiple companies' corporate actions within a single contract, allowing each company to create its own token instance within the contract ...
0
votes
0
answers
10
views
Dapp architecture & ERC1155
There are 2 smart contracts: Contract Game and Contract Token(ERC1155). I have 2 implementation options: Make the inheritance contract Game is Token {} and work with the token directly or Game ...
0
votes
0
answers
9
views
Seeking Smart Contract for Certifying Physical Artworks Similar to Kronos360
I'm looking for a smart contract that can certify physical artworks, similar to Kronos360's approach for watches. The contract should mint a unique token for each artwork, linked to its image and ...
0
votes
0
answers
44
views
Presale contract - Cant send tokens to the contract
I have created a token and a presale contract on remix.
User should be able to send BNB to the presale contract and receive the token in their wallet, but when i try to send funds to PRESALE contract ...
0
votes
1
answer
51
views
Can we upgrade the Name and Symbol of ERC20 Token
Exploring Options: Can the Name and Symbol of an ERC20 Token be Upgraded? 🚀 Seeking insights from the crypto community! 💡Considering a potential upgrade for our ERC20 token's name and symbol. Any ...
0
votes
1
answer
27
views
Wrong network at the transaction
I transfered 1000 usdt to ethereum network mistakenly from bnb network and i lost them. Can you help me with the solution to recover them please? i transfered them from binance to revolut
1
vote
0
answers
216
views
What are examples of high-liquidity ERC777 tokens on ETHEREUM? Any other token standards apply too, as long as there's a beforeTransfer callback
I'm looking to make a list of popular tokens that implement hooks on transferFrom(address owner, address receiver, uint256 amount) and are deployed on the Ethereum blockchain in particular.
For ...
0
votes
1
answer
29
views
Getting "insufficient allowance" error
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./TokenA.sol";
import "./TokenB.sol";
contract ...
0
votes
0
answers
17
views
Using Token in an application as asset
There is a smart contract deployed on ethereum network, which is an ERC-20 standard token
We want to use this token in an application as a virtual currency, for example users can buy it via fiat and ...
0
votes
0
answers
19
views
how to find out about all the coins that are on the Ethereum network
how can I find out in real time all the tokens that are on the Ethereum network and get data on prices, volume, etc.
1
vote
0
answers
20
views
Weighted token distribution
How do you determine the weight of token distribution to liquidity providers (aka how many tokens they get) based on how much liquidity they bring into the protocol?
Is there a pre-stablished ...
0
votes
0
answers
138
views
JsonRpcEngine: Response has no error or result for request:
I tried to deploy my smart contract on bsc testnet but it failed. Please explain where it went wrong.
1
vote
0
answers
33
views
how to get data about all tokens on the ethereum chain
I want to get data about all the tokens that are on the Ethereum chain without specifying the address of each token, how can I do this?
1
vote
3
answers
69
views
Transanction rejected by EVM when i tried to call a claim function from an airdrop contract
This my contract /**
contract JayTechAirdrop {
address public owner;
address public jayTechTokenAddress;
uint256 public claimAmount = 1e6 * 1e18; // 1 million JayTech tokens
uint256 public gasFee;
...
0
votes
0
answers
88
views
Recover tokens from base Network to Ethereum mainnet
I just sent a few days ago some Ethereum through base Network because the fees were low to an account that's does not support Base. My private keys are held by the exchange because it's a custodial ...
0
votes
0
answers
10
views
Nethereum when sending transaction to contract Number was less than the array's lower bound in the first dimension. (Parameter 'destinationIndex')
Hello i have problem with simply smartcontract:
[Function("saveData")]
public class SmartContractDataFunc : FunctionMessage
{
[Parameter("uint256","_id", ...
0
votes
1
answer
25
views
Swap, usdt to usdc, eth to usdt, eth to usdc etc
Can someone explain how to swap, usdt to usdc, eth to usdt, eth to usdc etc. Without any third-party (uniswap, 1inch etc). In language java/kotlin. For mobile wallet an application
1
vote
0
answers
30
views
I am encountering issues when transferring USDC tokens
When I transfer USDC tokens on the Polygon mainnet at https://rpc-mainnet.maticvigil.com, I encounter an error stating that the 'transfer' method is not found. Upon checking the list of methods for ...
0
votes
1
answer
17
views
Im trying to build a cryptocurrency(USD tether just like USD) that works with ethereum and polygon,
I happen to be relatively new to block chain, have an understanding of PoW and PoS, I'm learning Solidity at the moment, I'm supposed to design thi cryptocurrency that is compatible with ethereum and ...
0
votes
2
answers
104
views
Viewing all cryptocurrencies on a single wallet via its seed phrase
How to view all cryptocurrencies on a single wallet via its seed phrase
0
votes
1
answer
32
views
GoFundMe Contract: Minting "Thanks" over time vs all at once & "Thanks" token value
I was assigned to write a smart contract for class (to be deployed on a test-net), which, upon receiving ETH, returns to the sender some amount of tokens with symbol "Thanks". I want this ...
0
votes
1
answer
35
views
I am experiencing issues when trying to transfer funds on the Polygon mainnet
When I use the Polygon testnet to transfer tokens, it works fine. However, when I use the mainnet, an error occurs. Upon checking the contract methods on the mainnet, I notice that it lacks transfer ...
0
votes
1
answer
23
views
Trying to issue ERC 3475 tokens
I'm trying to issue ERC 3475 tokens from a relatively simple contract using Remix. The contract compiles and deploys when gas is optimized, but when I try to issue the tokens I get an error of "...
0
votes
0
answers
27
views
Return the current ERC20 token holders and number of tokens held
Are there any free APIs available that can provide current data on ERC20 token holders and the number of tokens they hold ?
0
votes
1
answer
14
views
Send selected token (the one you deployed) with web3js
How to send a transaction of a token that I have in my wallet other than the default one like ether in Ethereum without a contract method just with web3js?
0
votes
1
answer
61
views
How to send a token other then eth with metamask without extension of course?
I wanted send token other than eth with metamask using code but I did a little bit of research couldnt find anything. Do you guys know anything about that? I checked metamask docs site too didnt find ...
1
vote
0
answers
29
views
Calling Mint And Change Balance From Another Smart Contract
My Project is about a Token in which the Holder can disable their token at the Old Address and Receive a New Minted token.
It uses 2 different contacts. I put the functions in the BBB contract and ...
0
votes
0
answers
36
views
preventSwapBefore token contracts
I'm looking for a way to determine to determine tokens' contract private state variables such as _preventSwapBefore, or _reduceTaxAt, etc... Theese variables or often in token's contract, but in ...