How to sign and send transfer transaction using waves-transaction JS library?How do I send a cross-domain POST request via JavaScript?How to insert an element after another element in JavaScript without using a library?How can I create that waves smart contracts and assets with JS?How can I sign a transaction with a private key using the REST API Waves?Which type of transactions does waves platform have for smart accounts and smart assets?How to know if my Waves node is on fork or not?How to use Waves Transactions library in testnet?what does this error mean ? Can't process transaction with signature from scripted account. I'm using RIDE on Waves platformHow to set a script for an asset using Waves IDE?There're different types of transactions with different versions in Waves Platform, what is the main difference between them?

Chess software to analyze games

Is there a commercial liquid with refractive index greater than n=2?

What professions does medieval village with a population of 100 need?

iPhone 8 purchased through AT&T change to T-Mobile

Are there reliable, formulaic ways to form chords on the guitar?

Label on a bended arrow

Default camera device to show screen instead of physical camera

Use of vor in this sentence

Starships without computers?

Would it be illegal for Facebook to actively promote a political agenda?

How could China have extradited people for political reason under the extradition law it wanted to pass in Hong Kong?

Can my boss not paying for hours I put in to clean bar after we close?

Why do some academic journals requires a separate "summary" paragraph in addition to an abstract?

Why don't sharp and flat root note chords seem to be present in much guitar music?

Designing a prison for a telekinetic race

How does turbine efficiency compare with internal combustion engines if all the turbine power is converted to mechanical energy?

Why should someone be willing to write a strong recommendation even if that means losing a undergraduate from their lab?

How do I intentionally fragment a SQL Server Index?

Sleeping solo in a double sleeping bag

Writing/buying Seforim rather than Sefer Torah

In xXx, is Xander Cage's 10th vehicle a specific reference to another franchise?

Convert HTML color to OLE

Do predators tend to have vertical slit pupils versus horizontal for prey animals?

Can my Boyfriend, who lives in the UK and has a Polish passport, visit me in the USA?



How to sign and send transfer transaction using waves-transaction JS library?


How do I send a cross-domain POST request via JavaScript?How to insert an element after another element in JavaScript without using a library?How can I create that waves smart contracts and assets with JS?How can I sign a transaction with a private key using the REST API Waves?Which type of transactions does waves platform have for smart accounts and smart assets?How to know if my Waves node is on fork or not?How to use Waves Transactions library in testnet?what does this error mean ? Can't process transaction with signature from scripted account. I'm using RIDE on Waves platformHow to set a script for an asset using Waves IDE?There're different types of transactions with different versions in Waves Platform, what is the main difference between them?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















Please help me understand https://testnodes.wavesnodes.com/api-docs/index.html I use this api and this library https://github.com/wavesplatform/waves-transactions
I cannot send a transaction using the manual to the library or directly by POST request for api.



common mistakes:



  • Error: State check failed. Reason: Script doesn’t exist and proof


  • Error: State check failed. Reason: Transactions from non-scripted accounts must have exactly 1 proof


A POST request for url / addresses also gives an error. Provided API key is not correct.
Here is my code:



const transfer, broadcast = require("@waves/waves-transactions");
const seed =
"ride flee tenant tuna share buyer work west amateur review time kick";
const signedTranserTx = transfer(

amount: 1,
recipient: "3NBVqYXrapgJP9atQccdBPAgJPwHDKkh6A8"
,
seed
);
const nodeUrl = "http://testnodes.wavesnodes.com";

broadcast(signedTranserTx , nodeUrl)
.then(resp => console.log(resp))
.catch(err => console.error(err));









share|improve this question






























    1















    Please help me understand https://testnodes.wavesnodes.com/api-docs/index.html I use this api and this library https://github.com/wavesplatform/waves-transactions
    I cannot send a transaction using the manual to the library or directly by POST request for api.



    common mistakes:



    • Error: State check failed. Reason: Script doesn’t exist and proof


    • Error: State check failed. Reason: Transactions from non-scripted accounts must have exactly 1 proof


    A POST request for url / addresses also gives an error. Provided API key is not correct.
    Here is my code:



    const transfer, broadcast = require("@waves/waves-transactions");
    const seed =
    "ride flee tenant tuna share buyer work west amateur review time kick";
    const signedTranserTx = transfer(

    amount: 1,
    recipient: "3NBVqYXrapgJP9atQccdBPAgJPwHDKkh6A8"
    ,
    seed
    );
    const nodeUrl = "http://testnodes.wavesnodes.com";

    broadcast(signedTranserTx , nodeUrl)
    .then(resp => console.log(resp))
    .catch(err => console.error(err));









    share|improve this question


























      1












      1








      1








      Please help me understand https://testnodes.wavesnodes.com/api-docs/index.html I use this api and this library https://github.com/wavesplatform/waves-transactions
      I cannot send a transaction using the manual to the library or directly by POST request for api.



      common mistakes:



      • Error: State check failed. Reason: Script doesn’t exist and proof


      • Error: State check failed. Reason: Transactions from non-scripted accounts must have exactly 1 proof


      A POST request for url / addresses also gives an error. Provided API key is not correct.
      Here is my code:



      const transfer, broadcast = require("@waves/waves-transactions");
      const seed =
      "ride flee tenant tuna share buyer work west amateur review time kick";
      const signedTranserTx = transfer(

      amount: 1,
      recipient: "3NBVqYXrapgJP9atQccdBPAgJPwHDKkh6A8"
      ,
      seed
      );
      const nodeUrl = "http://testnodes.wavesnodes.com";

      broadcast(signedTranserTx , nodeUrl)
      .then(resp => console.log(resp))
      .catch(err => console.error(err));









      share|improve this question














      Please help me understand https://testnodes.wavesnodes.com/api-docs/index.html I use this api and this library https://github.com/wavesplatform/waves-transactions
      I cannot send a transaction using the manual to the library or directly by POST request for api.



      common mistakes:



      • Error: State check failed. Reason: Script doesn’t exist and proof


      • Error: State check failed. Reason: Transactions from non-scripted accounts must have exactly 1 proof


      A POST request for url / addresses also gives an error. Provided API key is not correct.
      Here is my code:



      const transfer, broadcast = require("@waves/waves-transactions");
      const seed =
      "ride flee tenant tuna share buyer work west amateur review time kick";
      const signedTranserTx = transfer(

      amount: 1,
      recipient: "3NBVqYXrapgJP9atQccdBPAgJPwHDKkh6A8"
      ,
      seed
      );
      const nodeUrl = "http://testnodes.wavesnodes.com";

      broadcast(signedTranserTx , nodeUrl)
      .then(resp => console.log(resp))
      .catch(err => console.error(err));






      javascript blockchain wavesplatform






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 27 at 14:50









      darnistadarnista

      414 bronze badges




      414 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          1














          If you use Waves transactions api, the request should be signed already and you can post it to /transactions/broadcast. Then you don't need your own node and you don't need your own API Key.
          in your code, I see several mistakes here:



          1. You're transferring to MAINNET address using testnet node. you
            should use TESTNET address instead. in the reciepent change the
            address to an address in testnet and let me know if you still get
            any errors. you can create new accounts here
            https://testnet.ide.wavesplatform.com/ in the tab accounts on the
            top right.

          2. Use https instead of http, const nodeUrl = "https://testnodes.wavesnodes.com/";

          3. Add the chain id('T' for testnet and 'W' for mainnet)

          Here is the code:



          const transfer, broadcast = require("@waves/waves-transactions");
          const seed =
          "ride flee tenant tuna share buyer work west amateur review time kick";
          const signedTranserTx = transfer(

          amount: 100,
          recipient: "3N3pJ8xAnbaSBFdAbnaKe4yu4ZXbYkatMcN"
          ,
          seed
          );
          const nodeUrl = "https://testnodes.wavesnodes.com";
          broadcast( ...signedTranserTx, chainId: "T" , nodeUrl)
          .then(resp => console.log(resp))
          .catch(err => console.error(err));





          share|improve this answer
























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55380158%2fhow-to-sign-and-send-transfer-transaction-using-waves-transaction-js-library%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            If you use Waves transactions api, the request should be signed already and you can post it to /transactions/broadcast. Then you don't need your own node and you don't need your own API Key.
            in your code, I see several mistakes here:



            1. You're transferring to MAINNET address using testnet node. you
              should use TESTNET address instead. in the reciepent change the
              address to an address in testnet and let me know if you still get
              any errors. you can create new accounts here
              https://testnet.ide.wavesplatform.com/ in the tab accounts on the
              top right.

            2. Use https instead of http, const nodeUrl = "https://testnodes.wavesnodes.com/";

            3. Add the chain id('T' for testnet and 'W' for mainnet)

            Here is the code:



            const transfer, broadcast = require("@waves/waves-transactions");
            const seed =
            "ride flee tenant tuna share buyer work west amateur review time kick";
            const signedTranserTx = transfer(

            amount: 100,
            recipient: "3N3pJ8xAnbaSBFdAbnaKe4yu4ZXbYkatMcN"
            ,
            seed
            );
            const nodeUrl = "https://testnodes.wavesnodes.com";
            broadcast( ...signedTranserTx, chainId: "T" , nodeUrl)
            .then(resp => console.log(resp))
            .catch(err => console.error(err));





            share|improve this answer





























              1














              If you use Waves transactions api, the request should be signed already and you can post it to /transactions/broadcast. Then you don't need your own node and you don't need your own API Key.
              in your code, I see several mistakes here:



              1. You're transferring to MAINNET address using testnet node. you
                should use TESTNET address instead. in the reciepent change the
                address to an address in testnet and let me know if you still get
                any errors. you can create new accounts here
                https://testnet.ide.wavesplatform.com/ in the tab accounts on the
                top right.

              2. Use https instead of http, const nodeUrl = "https://testnodes.wavesnodes.com/";

              3. Add the chain id('T' for testnet and 'W' for mainnet)

              Here is the code:



              const transfer, broadcast = require("@waves/waves-transactions");
              const seed =
              "ride flee tenant tuna share buyer work west amateur review time kick";
              const signedTranserTx = transfer(

              amount: 100,
              recipient: "3N3pJ8xAnbaSBFdAbnaKe4yu4ZXbYkatMcN"
              ,
              seed
              );
              const nodeUrl = "https://testnodes.wavesnodes.com";
              broadcast( ...signedTranserTx, chainId: "T" , nodeUrl)
              .then(resp => console.log(resp))
              .catch(err => console.error(err));





              share|improve this answer



























                1












                1








                1







                If you use Waves transactions api, the request should be signed already and you can post it to /transactions/broadcast. Then you don't need your own node and you don't need your own API Key.
                in your code, I see several mistakes here:



                1. You're transferring to MAINNET address using testnet node. you
                  should use TESTNET address instead. in the reciepent change the
                  address to an address in testnet and let me know if you still get
                  any errors. you can create new accounts here
                  https://testnet.ide.wavesplatform.com/ in the tab accounts on the
                  top right.

                2. Use https instead of http, const nodeUrl = "https://testnodes.wavesnodes.com/";

                3. Add the chain id('T' for testnet and 'W' for mainnet)

                Here is the code:



                const transfer, broadcast = require("@waves/waves-transactions");
                const seed =
                "ride flee tenant tuna share buyer work west amateur review time kick";
                const signedTranserTx = transfer(

                amount: 100,
                recipient: "3N3pJ8xAnbaSBFdAbnaKe4yu4ZXbYkatMcN"
                ,
                seed
                );
                const nodeUrl = "https://testnodes.wavesnodes.com";
                broadcast( ...signedTranserTx, chainId: "T" , nodeUrl)
                .then(resp => console.log(resp))
                .catch(err => console.error(err));





                share|improve this answer













                If you use Waves transactions api, the request should be signed already and you can post it to /transactions/broadcast. Then you don't need your own node and you don't need your own API Key.
                in your code, I see several mistakes here:



                1. You're transferring to MAINNET address using testnet node. you
                  should use TESTNET address instead. in the reciepent change the
                  address to an address in testnet and let me know if you still get
                  any errors. you can create new accounts here
                  https://testnet.ide.wavesplatform.com/ in the tab accounts on the
                  top right.

                2. Use https instead of http, const nodeUrl = "https://testnodes.wavesnodes.com/";

                3. Add the chain id('T' for testnet and 'W' for mainnet)

                Here is the code:



                const transfer, broadcast = require("@waves/waves-transactions");
                const seed =
                "ride flee tenant tuna share buyer work west amateur review time kick";
                const signedTranserTx = transfer(

                amount: 100,
                recipient: "3N3pJ8xAnbaSBFdAbnaKe4yu4ZXbYkatMcN"
                ,
                seed
                );
                const nodeUrl = "https://testnodes.wavesnodes.com";
                broadcast( ...signedTranserTx, chainId: "T" , nodeUrl)
                .then(resp => console.log(resp))
                .catch(err => console.error(err));






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 27 at 14:57









                Nazim FaourNazim Faour

                6643 silver badges6 bronze badges




                6643 silver badges6 bronze badges





















                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55380158%2fhow-to-sign-and-send-transfer-transaction-using-waves-transaction-js-library%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현