I need to deploy my smart contract to BSC Testnet I always got this : Error: PollingBlockTracker - encountered an error while attempting to update latest block:
I want to make a game in a Scrypto blueprint where users can play with their Gumball NFTs. My blueprint has a pub fn attack(&self, my_gumball: Proof, other_
How can we generate random numbers in Scrypto if floating point libraries are not allowed be used? I want to be able to generate unique IDs for NFTs.
I am trying to do the following calculation with solidity: 3,000 / 45,000,000 = 0.000067 with the following method: // SPDX-License-Identifier: MIT pragma solid
This is my first experience writing a smart contract, so I am still trying to navigate how this all works. I have a smart contract on the Rinkeby test network t
I'm writig a dApp using web3Modal and web3js libraries. I have an issue regarding the WalletConnect provider. Upon choosing to connect using WalletConnect, the
I am trying to call Uniswap's Router's function swapExactTokensForETHSupportingFeeOnTransferTokens(). When I enter the values manually on etherscan, it goes thr
I'm learning blockchain development recently and I'm implementing ERC721 contract to mint NFT and store the mapping of ownership. What if I deploy a second cont
I am learning solidity and got to know that interface and abstract are both classes that may contain unused functions. My doubt is: What is the difference betwe
I'm trying to get the price of some BSC token directly from the contract. Doing some searches, I found a mix of ideas with the snippet below. I'm sure the code
I want to compile my ethereum HelloWorld.sol smart contract. In all the tutorials is that you do it like this: var solc = require('solc'); var compiledContract
I am working on a project where I need to send ether from an user to a smart contract and from the smart contract to the user. The smart contract is code in Sol
An address in Solidity can be an account or a contract (or other things, such as a transaction). When I have a variable x, holding an address, how can I test if
Basically, I'm trying to make the smart contract be able to take exactly 0.05 eth ONLY when the cooldown timer is set to 0. The Dapp I'm creating is a first com
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
My code for concatenating 2 strings is pretty simple: string baseUrl = "http://localhost:8080/"; string url = baseUrl.append(url_secret); But I have got an err
I can't deploy compiled free ton solidity smartcontract through tonos-cli. > tonos-cli deploy Hello.tvc tonos-cli.conf.json Config: /ton/solidity_deploy/hel
Free TON Solidity. How to get hash from data encoded into cell? tvm.hash() analogue?
Free TON Solidity code or execution error. Can't understand my mistake, I already compact the code to the minimum: cat ./SimpleStorage.sol pragma solidity >=
I would like to compute the sha256 of a string in a Free TON-Solidity contract, I do it by storing the string in a TvmBuilder and then passing it as a TvmSlice