Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 18 13:08

    juanfranblanco on master

    #711 Added extra test to demons… (compare)

  • Sep 17 16:19

    juanfranblanco on master

    Adding support of mix and match… (compare)

  • Sep 16 09:23

    juanfranblanco on master

    Event default decoding test (compare)

  • Sep 16 06:41

    juanfranblanco on master

    #709 Adding support for Decodin… Merge branch 'master' of https:… (compare)

  • Sep 14 14:17

    juanfranblanco on master

    Fix Merge pull request #639 from sh… (compare)

  • Sep 08 11:32

    juanfranblanco on master

    Avoding the need of setting the… Updating geth (compare)

  • Sep 08 10:02

    juanfranblanco on master

    Geth API: DebugTraceBlock metho… Merge pull request #707 from li… (compare)

  • Aug 24 11:41

    juanfranblanco on master

    BigDecimal Support For Negative… Merge pull request #701 from ry… (compare)

  • Aug 12 16:31

    juanfranblanco on 4.0.5

    (compare)

  • Aug 12 15:10

    juanfranblanco on master

    Not signing HdWallet on .Net Fr… Merge branch 'master' of https:… (compare)

  • Aug 11 12:37

    juanfranblanco on master

    Update QuorumAccount.cs The hi… Merge pull request #700 from Ly… (compare)

  • Aug 11 09:33

    juanfranblanco on master

    Moving to 4.0.5 reverting worka… Using now geth 1.10.7 for testi… (compare)

  • Aug 10 12:14

    juanfranblanco on master

    Adding extensions for IsLegacy … Mocks expecting a default 0 val… (compare)

  • Aug 09 14:39

    juanfranblanco on 4.0.4

    (compare)

  • Aug 09 12:07

    juanfranblanco on master

    Unity 1559 adding Median Fee Hi… (compare)

  • Aug 08 09:23

    juanfranblanco on 4.0.3

    (compare)

  • Aug 08 07:03

    juanfranblanco on master

    geth (compare)

  • Aug 08 07:02

    juanfranblanco on master

    Adding checks for nulls when fa… Ether transfer service, masprio… Adding a transaction type 0 fo… and 2 more (compare)

  • Aug 06 16:02

    juanfranblanco on master

    Update version of Nethereum to … #697 adding the option of recov… Tests tidyng up (compare)

  • Aug 05 06:30

    juanfranblanco on 4.0.2

    (compare)

Adam Skrodzki
@adamskrodzki

should resolve to
0x94DA43C587c515AD30eA86a208603a7586D2C25F

but when I call:

            var signer = new EthereumMessageSigner();
            var address = signer.EcRecover(message,signature);

where

message = "0xF422337B435EB1B392ACDF90447B49CD697250582FB5A9D01A7B1CBD8464872B"
and
signature = "0x54d29a7b69639226ac41ae52c3144f6de9ab97f4262fbc4a38590cfe59b335b17c55e0f3d8f03036c60eb889de5fe2181e569c95a88815e223ef809f94cfc99d1c"

Hello, is there possibility to interact with bsc bep20 network using nethereum ?
I would like to obtain bcs coin balance from my wallet using nethereum.

should be possible, choose as RPC url bsc node and do the rest like it was notmal ethereum

Steve Ruben
@csharpyoudull
I'm having an issue with a basic contract, in the constructor I set a local address variable to the msg.sender, in a function I then require that the msg.sender == owner. I have verified that I am using the same account to call the function as the deployer of the contract but the msg.sender is never equal to the owner.
Steve Ruben
@csharpyoudull

// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;
pragma experimental ABIEncoderV2;

contract SecureTest {
address public owner;
string message;

constructor() public {
    owner = msg.sender;
}

function setMessage(string memory newMessage) public {
    require(msg.sender == owner, "unauthorized");
    message = newMessage;
}

function getMessage() public view returns (string memory msgStr) {
    return message;
}

}

public async Task<ContractDeploymentReceipt> DeploySecureContract(SecureContract contract, string privateKey)
{
var account = new Account(privateKey);
var web3 = new Web3(account, "http://localhost:8545");
var deploymentHandler = web3.Eth.GetContractDeploymentHandler<SecureContract>();
var r = await deploymentHandler.SendRequestAndWaitForReceiptAsync((SecureContract)contract);
return new ContractDeploymentReceipt
{
BlockHash = r.BlockHash,
BlockNumber = (long)r.BlockNumber.Value,
ContractAddress = r.ContractAddress,
TransactionHash = r.TransactionHash,
};
}
    public async Task SetMessage(string ownerPrivateKey, string message,
        string contractAddress)
    {
        var account = new Account(ownerPrivateKey);
        var web3 = new Web3(account, "http://localhost:8545");

        var contract = web3.Eth.GetContract(SecureContract.Abi, contractAddress);
        var addProvider = contract.GetFunction<SetMessage>();
        var result = await addProvider.CallAsync<SetMessage>(new SetMessage
        { Message = message });
    }

    public async Task GetMessage(string ownerPrivateKey,
        string contractAddress)
    {
        var account = new Account(ownerPrivateKey);
        var web3 = new Web3(account, "http://localhost:8545");

        var contract = web3.Eth.GetContract(SecureContract.Abi, contractAddress);
        var addProvider = contract.GetFunction<GetMessage>();
        var result = await addProvider.CallAsync<GetMessageResult>(new GetMessage());
    }
the contract deploys just fine but I constantly get unauthorized when attempting to execute the function
kyle789xbl
@kyle789xbl
can you help me im trying to use ftm erc20 trying to send raw transaction in the demo scene but i keep getting transaction underpriced
UnityEngine.Debug:Log (object)
EtherTransferCoroutinesUnityWebRequest/<TransferEther>d__15:MoveNext () (at Assets/EtherTransferCoroutinesUnityWebRequest.cs:65)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
Unity_JVasUEsEZ2.png
kyle789xbl
@kyle789xbl
dw solved it * GAS TOOO LOW
teyms
@teyms
Hi, do you guys have any articles about the integration of nethereum and metamask
uponatime2019
@uponatime2019
Hello everyone. Do you know any sample to swap token with Nethereum?
Or guide me step to make it possible
Mr zhan
@sonygod
hello
"message":"Method miner_start is not supported"},"id":1}
I got this error on xdai fast mode
how to fixed that?
tyevlag
@tyevlag
Hello, everyone. How do I call estimategasasync for 1559 transaction? Is there a small demo? thank you
tyevlag
@tyevlag
Hello, I use sendtransactionasync to make contract calls on the goerli network, but there is a deviation in the transaction timestamp. My local is UTC + 8, and the actual UTC time of the timestamp in the transaction is 12 hours less. What do I need to set in particular?
Okay Akdeniz
@okayakdeniz
Hi Guys, i have a API web service with Nethereum. It calls 3 nodes raft consensus quorum network. two different client sessions have called the web api with same contract. Both clients' requests have been completed within 20 seconds. But if the single client session call the web api, it can completed with in 10 seconds. Why this different client sessions block each other?
Girish
@girishnuli
Is it possible to use a custom derivation path when generating an HD wallet with NEthereum?
Alessio Rocchi
@blackms
Hello everyone, someone knows if it is possible to filter all the events of new token added?
carloftg
@carloftg
Hello, I am facing an issue with var receipt = function.SendTransactionAndWaitForReceiptAsync , sometimes it locks for ever and I suspect that the transaction cannot go through and also while waiting it consumming a lot of RPC calls so can someone point me how to break down this call in order to get the HASH first (check if I can get one first) and then how to wait for the the hashed transaction to be mined while controlling myself in my own the polling process so I can reduce the RPC call ? Thank you :)
Alessio Rocchi
@blackms
is there a way to convert this: log.Data
"0x00000000000000000000000073f32d2ffa5f299504dc19ad0222d1243d9298930000000000000000000000000000000000000000000000000000000000061796"
to an addres?
edgeofthegame
@edgeofthegame
@juanfranblanco
Hello,
I cannot find if debug_traceCall is implemented.
https://geth.ethereum.org/docs/rpc/ns-debug#debug_tracecall
Im very bad in RPC requests and know only C# please high five drowning man😂
William Phan
@WilliamPhan_Lotus_gitlab
Hi, how I can check state of an subscription in an StreamingWebSocketClient?
William Phan
@WilliamPhan_Lotus_gitlab
And how I can unsubscribe subscription via id?
Roman Yavnikov
@Romazes20_gitlab
Hello, everyone :)
Could Somebody explain decision my problem ? ↓
Task: I have various contracts transaction handling methods (on Solidity which I generate to c#)
I'll want create some maybe pipeline between some methods contract and client then I called component with my loader
Or how I could display my Loader to I won't add loader component for each page on client side
William Phan
@WilliamPhan_Lotus_gitlab
Hi everybody, I am using StreamingWebSocketClient for a background job (Worker) and I got an issue that service will be stop automatically after a period (about 10 hours or 12 hours)? Anyone know the reason please help me? Thank you so much.
1 reply
.
@radioactivemman_twitter

Hi everyone, I am new the Nethereum and a beginer in .NET . I recently installed .NET5 on a new PC and i am trying to compile a nethereum app but I get this error:

" An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module.
Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
"

Any idea whats going on?

I am literally just trying the Get Started app on this page : https://docs.nethereum.com/en/latest/getting-started/
Anthony Minchenko
@anthony-mi
Hello everyone. How to get a network provider using Nethereum? I want to change the EVM local time by sending a request to 'evm_increaseTime' method but don't understand how to do this.
sonnichkhun
@sonnichkhun
Hello everyone, I am implementing a wallet, I have 1 question: Can 1 transaction send 1 number of tokens to multiple addresses at the same time? I implement C# dotnet core, Netherum.web3. Tks
Jose De Gouveia
@hgouveia

hello guys, i am trying to call a function async that return an array, but i got this error

 int[] result = await contract.GetFunction("getOwnedIds").CallAsync<int[]>(onwerAddress);

as a result i got an exception Default constructor not found for type System.Int32[]

this is the contract function

 function getOwnedIds(address _owner)
        external
        view
        returns (uint256[] memory)
Deekshith009
@Deekshith009
Hello Everyone I am trying to find a Balance in a account but not getting balance.
var balance = await web3.Eth.GetBalance.SendRequestAsync("0x0999911570D248d84A17Cb48263E32BD9249344C"); //is this line correct? Anyone help me out, Thanks in advance
Diego Aguirre
@Geekydiego
Hi! Hopefully someone can help me!
Im running Nethereum Unity3DSimpleSampleNet461 And im following a tutorial.. But I get Invalid Sender. IDK what to do.
JayArrowz
@JayArrowz
Does anyone know a way i can filter a specific contract address using EthNewPendingTransactionObservableSubscription
ltsone9
@ltsone9
Heco Contract Error .Nethereum.JsonRpc.Client.RpcResponseException: rlp: expected input list for types.txdata: eth_sendRawTransaction
报错怎么回事
火币
微信截图_20210908111834.png
Deekshith009
@Deekshith009
AnyOne help me out getting this error {"rlp: expected input list for types.txdata: eth_sendRawTransaction"}
Thanks in adavance
Advance*
$ whoami
@TheNewAutonomy
Can someone tell me what the space requirements are for xDai running an archive node?
Aidan965
@Aidan965
Hello, does Nethereum provide a wallet integration similar to Javascript's Web3Modal library?
Miguel Pieras
@mpierasb_twitter
Hello! Does anyone have an example showing how to use SwapExactTokensForETH? I am always getting "execution reverted: eth_call"
var ethSwapHandler2 = web3.Eth.GetContractTransactionHandler<SwapExactTokensForETHSupportingFeeOnTransferTokensFunction>();
        var ethSwapDTO2 = new SwapExactTokensForETHSupportingFeeOnTransferTokensFunction
            {
            AmountIn = Web3.Convert.ToWei(5),
            AmountToSend = Web3.Convert.ToWei(0.02),
            AmountOutMin =  Web3.Convert.ToWei(0.000033),
            Path = new List<string>
            {
                "0x492793a9ed1aC780cBd6b56C930461BC3c568F47", //FOLK
                "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c" //WBNB

            },
            To = myWallet,
            Deadline = ((DateTimeOffset)DateTime.Now).ToUnixTimeSeconds() + 2200
        };

        var transactionEthSwapReceipt2 = await ethSwapHandler2.SendRequestAndWaitForReceiptAsync(contractAddress, ethSwapDTO2);
Malik Mehmood
@mehmoodasghar_gitlab
Hello Please Help me to solve Entry Point Exception.
Exception.png