blockchain Questions

4

Solved

I was eventually trying to run this code in remix IDE, where I was running this using 0.6.6 version of Solidity and ran into this error. I've tried using some other versions like 0.8 and 0.6 as wel...
Lumpish asked 29/1, 2022 at 12:59

6

i want to do a transaction in ethereum from account A but the transaction fee should be paid from account B. is it possible in ethereum?
Eccentricity asked 30/6, 2018 at 7:39

2

So I am using wallet connectV2, what I am trying to do is to connect my metamask wallet with my App and I am trying to follow the walletConnect2 sample app code. But I am having trouble connecting ...
Occasional asked 1/8, 2022 at 7:49

2

You have not set a script to run. Set it with @custom:dev-run-script NatSpec tag The notification message I have written a simple program of Hello World in the Remix IDE.
Strega asked 18/11, 2022 at 16:13

6

I am setting up hardhat in Linux. I have set up the react app first using these commands. npx create-react-app react-dapp cd react-dapp Then I have installed some hardhat dependencies using this...
Chancre asked 21/10, 2021 at 9:41

7

I am getting error with both latest solc (0.5.2 version) and 0.4.25 too while I am writing Simple contract I have tried following steps uninstalled Solc: npm uninstall solc Installed targeted v...
Steradian asked 27/12, 2018 at 7:36

2

Solved

I have just jumped in Solana on-chain program. I am going to make coin game which judge frontside or backside. I tried to use std:: rand and get_random crate but they don't work. If you have experi...
Unfriendly asked 13/1, 2022 at 8:30

5

Error: Truffle is currently using solc 0.5.16, but one or more of your contracts specify “pragma solidity ^0.8.0” Here is a photo of the error - https://gyazo.com/2f5ea2f50cc1d4ef5eea2f21d0e04fe7 A...
Reconvert asked 21/6, 2021 at 15:1

2

Solved

I'm trying to access the ethers provider like this in Nextjs 13.0.1: import { ethers } from "ethers"; export const signMessage = () => { const provider = new ethers.providers.Web3P...
Commitment asked 5/2, 2023 at 11:6

5

Solved

When I run telnet command in Docker it does not run. Could you please tell me how to install telnet in Docker for Windows?
Obligee asked 2/9, 2016 at 7:16

10

Solved

Git's internal data structure is a tree of data objects, wherein each objects only points to its predecessor. Each data block is hashed. Modifying (bit error or attack) an intermediate block will b...
Dissonance asked 13/9, 2017 at 8:16

4

I want to add feature in my mobile app to send ether from one address to another address and for this I need to integrate metamask with my flutter mobile application. What package can I use for thi...
Russel asked 4/1, 2022 at 14:4

6

Solved

Please don't judge, i've no idea what to do and how to do :) My code: ether.js ( ^5.6.0) import { ThirdwebSDK } from '@3rdweb/sdk' import { ethers } from 'ethers' const sdk = new ThirdwebSDK( new...
Chelate asked 13/3, 2022 at 20:53

2

I would like to make a word generation function based on the letters of the alphabet, but I don't know how to proceed. I would like to generate 12 words string letters public = "abcdefghijklmn...
Danica asked 31/8, 2022 at 11:12

1

Solved

I'm trying to generate a random number with Chainlink VRF for a raffle system. This number should have a maximum value of ticketOwners.length and a minimum of 0, as I'll be getting the index of the...
Rodger asked 11/12, 2022 at 2:8

8

Solved

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 it is a contract or not? (Yes, I've...
Travertine asked 5/6, 2016 at 16:48

3

Solved

In a smart contract, let's say I have a function which wants to invoke another function dynamically, based on some internal logic. Here it obtains the function selector as a bytes4 variable. After ...
Stabilizer asked 7/4, 2022 at 2:42

2

I am using hardhat to compile, deploy and verify an Ethereum Smart Contract. Currently, I am mannually peforming these commands: npx hardhat compile npx hardhat run scripts/deploy.js Wait until...
Athletic asked 8/7, 2022 at 20:31

5

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: Error: ETIMEDOUT I tried to change ...
Paulo asked 5/5, 2021 at 6:10

2

Here is my code: package main import ( kusb "github.com/karalabe/usb" tusb "github.com/trezor/trezord-go/usb" ) func main() { kusb.Enumerate(0, 0) tusb.InitHIDAPI(nil) } When I compile (I'...
Rotman asked 11/6, 2019 at 6:41

4

Solved

I get this error where I run anchor deploy: Deploying workspace: http://127.0.0.1:8899 Upgrade authority: /home/<user>/.config/solana/id.json Deploying program "faucet"... Program p...
Parrett asked 19/8, 2021 at 14:0

8

Solved

I'm ramping up on learning Solidity, and have some ideas. At the moment I am curious if files/images can be put on the blockchain. I'm thinking an alternative would be some hybrid approach where so...
Wieche asked 25/10, 2018 at 16:54

3

I just started to learn Solidity as a personal challenge. I'm not a developer so I've a loooooong way to go. I'm following the Ethereum.org tutorial, here is what I've got doubt about: What does [m...
Fredi asked 1/2, 2018 at 12:11

5

Solved

I installed ganache with yarn, but when I check the version to see if correctly installed, I get the error: "The term 'ganache-cli' is not recognized as the name of a cmdlet, function, script ...
Hawes asked 18/9, 2021 at 16:15

2

Solved

Using the Substrate blockchain framework, how can I convert between Substrate specific types and Rust primitive types and vice versa? For example: Convert a time (T::Moment) to a u64 Convert a u...
Tiossem asked 10/5, 2019 at 15:59

© 2022 - 2024 — McMap. All rights reserved.