python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How can I configure Hardhat to work with RSK regtest blockchain?
I intend to develop my smart contracts in Hardhat, and to test them on RSK regtest local node. I was able to find a Truffle regtest configuration.
development: {
host: "127.0.0.1",
port:...

Gino Osahon
Votes: 0
Answers: 1
I am unable to install truflle
This is the output when I run sudo npm install -g truffle and a complete log file.
40 verbose stack FetchError: request to https://registry.npmjs.org/truffle failed, reason: connect EHOSTUNREACH 2606...
Saksham Gupta
Votes: 0
Answers: 1
Solidity - Check if an index exists in contract A from Contract B
I have two contracts called A and B. I defined an array variable in contract A. I want to check if an index exists or not from contract B.
A.sol
contract A {
SomeStruct[] private myArray;
/// ...

Milad Jafari
Votes: 0
Answers: 2
Running my first truffle file, Cannot find module 'babel-register'
I am working on building the marketplace dapp from dapp university on Youtube. While running truffle compile it gives me the following error
Error: Cannot find module 'babel-register'
In this answer: ...
coeuskoalemos
Votes: 0
Answers: 1