Category "erc20"

How to create a simple swapping contract

I want to create a contract that buys and sells to a fixed price which can be set with a contract interaction onlyOwner basically i need a token vendor with edi

Can't Retrieve Wallets transactions using web3

so yea I tried to get all the transactions of a wallet address on a certain token contract. But it keeps on returning null. const Web3 = require('web3') const

Unhandled Rejection (Error): call revert exception

I am getting this error message when trying to interact with my smart contract on my react front end. I am running localhost3000 and which requires metamask to

Deply ERC20 token to cross / multiple chains?

I have a new Erc20 token built on Polygon network and available on Polyscan, how can I make it available on Binance smart chain as well, the same way like other

Can we deploy same ERC20-token on different blockchains?

I want to deploy my own ERC-20 token on different blockchains, so is there any possibility to deploy the same token contract on different blockchains. If we do

Does approve take time to be confirmed, and how to deal with this in BSC?

Hi I am doing BSC DApp using web3 with react. I am very new to this field. I found after call approve, the transfer(or zapInToken in my case) will not be succes

I wrote a solidity that pays ERC-20 tokens for ERC-721 NFT transaction, but it doesn't work

I wrote a solidity that pays ERC-20 tokens for ERC-721 NFT transactions, but it doesn't work. On purchase, you trigger the purchaseToken method. But I get an un

Adding Liquidity to Pancakeswap in Testnet

I need help with my code. I want to create a simple Smart Contract with adding Liquidity to Pancakeswap. I tried many different things, but the transaction alwa

i want implement ICO Contract for token contract

I have some simple ico contracts for airdrop and presale with lock token future to lock token until ico end and I want to know how to connect it to token contra

How to create a custodial wallet per user on a plateform with Solidity?

I'm new in the blockchain community, and i have to realize a web 3.0 project. In this project, we have an ERC20, and for each user who sign up on our platform,

Transaction reverted: function selector was not recognized and there's no fallback function

I am interacting with my own smart contract. It's a very simple one. // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract ERC20 { string public n

PHP web3 ERC20 token function call

I have a Smart Contract that represent ERC20 token. I already deployed the smart contract on Binance Testnet using HardHat. I have a deployed Smart Contract add

web3 sendTransaction select and send token different than native currency

I'm not much of a professional with web3 and trying to figure out how to create a transaction that is using a symbol/token/cryptocurrency or whatever you might