GithubHelp home page GithubHelp logo

newaccount error for DAWN3 about eosjs HOT 9 CLOSED

eosio avatar eosio commented on June 2, 2024
newaccount error for DAWN3

from eosjs.

Comments (9)

chris-allnutt avatar chris-allnutt commented on June 2, 2024 1

If broadcast is set to false it won't actually send the transaction, it just shows you what it would have sent. Set broadcast to true and we can work thru the error from there.

from eosjs.

chris-allnutt avatar chris-allnutt commented on June 2, 2024

@zshchou do you get an error if you attempt to create the account again? This may be an issue with RPC. I had a similar issue recently.

Also try setting recovery and creator as eosio. If you're running master there is only a single producer eosio right now.

from eosjs.

zshchou avatar zshchou commented on June 2, 2024

i use eosio, still error!

execure result

{
  "transaction_id": "e36668602da228c05eec0eb1190ea957182630e24501564b415fe521a80a6c8c",
  "broadcast": false,
  "transaction": {
    "compression": "none",
    "data": {
      "expiration": "2018-03-26T15:57:36",
      "region": 0,
      "ref_block_num": 743,
      "ref_block_prefix": 2782249341,
      "packed_bandwidth_words": 23,
      "context_free_cpu_bandwidth": 0,
      "context_free_actions": [],
      "actions": [
        {
          "account": "eosio",
          "name": "newaccount",
          "authorization": [
            {
              "actor": "eosio",
              "permission": "active"
            }
          ],
          "data": "0000000000ea30550000c80819aea69701000000010002c0ded2bc1f1305fb0faac5e6c03ee3a1924234985427b6167ca569d13df435cf01000001000000010002c0ded2bc1f1305fb0faac5e6c03ee3a1924234985427b6167ca569d13df435cf0100000100000000010000000000ea305500000000a8ed32320100"
        }
      ]
    },
    "signatures": [
      "EOSKm3Szimh5f5v5EmYt2u5cJMPVhjyVRapCVUPyXVkEQXkH3KsGhppEZ2ABH7DsH4pQ3WL7TftbfaZXWAkymoTxYGhAssbg5"
    ]
  }
}

query result

➜  build git:(master) cleos get account mynewacct
{
  "account_name": "mynewacct",
  "permissions": []
}

from eosjs.

zshchou avatar zshchou commented on June 2, 2024

I am running master there is only a single producer eosio right now.

from eosjs.

chris-allnutt avatar chris-allnutt commented on June 2, 2024

I see broadcast is set to false in your transaction
"broadcast": false,

set broadcast to true in your config and see if that fixes it.

from eosjs.

chris-allnutt avatar chris-allnutt commented on June 2, 2024

Documentation here: https://github.com/EOSIO/eosjs/blob/c9b873966442b0752cd4d1f0cede3b5784baf3cd/README.md#configuration

from eosjs.

zshchou avatar zshchou commented on June 2, 2024

it's ok, beacause yesterday if set broadcast:true, it not execute!

from eosjs.

zshchou avatar zshchou commented on June 2, 2024

so, thanks, can you solve the asset error? please visit my issue for asset error.

from eosjs.

jcalfee avatar jcalfee commented on June 2, 2024

I added a comment in the asset error ticket: #34

Sounds like this can be closed.

from eosjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.