python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
I need sign message in C# via EIP-191
c# signing not equal node.js signing
node.js produces correct result
I have code in node.js
import { Wallet, utils } from 'ethers'
const privateKey = '0xcd180f4628bf1fceb5ab9e2e22df38d6d1dee52667926c...
XOTAB
Votes: 0
Answers: 1
swapExactTokensForETHSupportingFeeOnTransferTokens has a path argument, I know I have to put the token's contract address first
I want to swap a token to BNB
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
I...
Surface
Votes: 0
Answers: 2
Can't recreate off chain signed message on Solidity
Im using Nethereum on my server to sign a message as follows:
string amount = "10";
string nonce = "1";
string msg1 = "asdasd";
var privateKey = "0x00000privateKey&q...
DeveloperAlwaysTired
Votes: 0
Answers: 1
Calculate Transaction Gas Fee
I am trying to find out the fee for a normal transaction on the Ethereum network !!
//Get Network Gas Price For singl unit
var GasPrice= await web3.Eth.GasPrice.SendRequestAsync();
//Assuming the num...
Moatasem La Kremed
Votes: 0
Answers: 1