Skip to content

Issue with sending asset #3

@1Mapa1

Description

@1Mapa1

Hello. I encountered an error when sending an asset in the testnet.

Error: State check failed. Reason: Proof doesn't validate as signature for {"type":4,"id":"FTCuRHbhQFeMUgiXtoaJWaDognMKZH9Y8dYrfNRLHsVg","fee":100000,"feeAssetId":null,"timestamp":1717400931013,"version":3,"chainId":84,"sender":"3N2LqzgnbggZuMu1RTVD16hvCbSsVdZZoGu","senderPublicKey":"DRaDgqrpr3Emk6fLaJagwxfnAT2WgRASYb2TgV9H7U8q","proofs":["3SxrdchYUC4anf2DfH54cRXodBFXf5SEf5AWcW3NBb9ynv2mVQvqJW5HZbJvjVPotA7qkXWBKiKvY5L2aHyFbN72"],"recipient":"3Mtv3CEcM1w2a4TBjBdmQFHp79uTu5poCm2","assetId":"BRnDpu9cxB1RLxr34myErX1SCvE6g4Gaotu1fWmMWior","feeAsset":null,"amount":1,"attachment":""}"

I've tried all possible ways. The asset was created by me. Here is the program code:

using WavesLabs.Node.Client;
using WavesLabs.Node.Client.Transactions;
using WavesLabs.Node.Transactions;
using WavesLabs.Node.Transactions.Common;
internal class Program
{
    private static void Main(string[] args)
    {
        var node = new Node("https://nodes-testnet.wavesnodes.com");

        var privateKey = "DyzbDCZJxUQuEYJwHLb6uLjDQ7ZzC6iEyPCDnokpBqUW";

        Address recipientAddress = new Address("3Mtv3CEcM1w2a4TBjBdmQFHp79uTu5poCm2");

        AssetId assetId = new AssetId("BRnDpu9cxB1RLxr34myErX1SCvE6g4Gaotu1fWmMWior");

        var senderPrivateKey = new PrivateKey(privateKey);

        var tx = TransferTransactionBuilder.Params(recipientAddress, 1, assetId).GetSignedWith(senderPrivateKey);
        var transaction = node.Broadcast(tx);
      }
}

Sender: https://wavesexplorer.com/en/addresses/3N2LqzgnbggZuMu1RTVD16hvCbSsVdZZoGu?network=testnet&search=3N2LqzgnbggZuMu1RTVD16hvCbSsVdZZoGu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions