python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Call solidity function dynamically, based on its bytes4 function selector
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 whi...
bguiz
Votes: 0
Answers: 3
How to deploy two smart contracts consequently on RSK via Hardhat?
I am developing two smart contracts whose deployment order matters. First comes an ERC20 token, and then its deployment address should be passed to an ERC721 smart contract's constructor. Both contact...
EvelinaB - AnySolution
Votes: 0
Answers: 1
How to generate matching RSK accounts from a seed phrase on Hardhat?
I have followed this Hardhat tutorial. But I'm modifying the config file to make it work on RSK,
and have uencountered some unexpected behaviour with addresses.
const { expect } = require('chai');
...
Juan José Sarasola
Votes: 0
Answers: 1
How to test RSK testnet deployed smart contracts via Hardhat?
I am using Hardhat to deploy and test my smart contract on RSK testnet. This is the hardhat.config.js setup I am using:
require('@nomiclabs/hardhat-waffle');
const mnemonic = fs.readFileSync('.mnemon...
Irene Patrikios
Votes: 0
Answers: 2