Coder Social home page Coder Social logo

eosio / eosio-reference-chrome-extension-authenticator-app Goto Github PK

View Code? Open in Web Editor NEW
25.0 29.0 20.0 18.06 MB

Chrome extension reference app demonstrating how users could sign transactions using various EOSIO Labs tools

License: MIT License

HTML 0.27% CSS 3.27% TypeScript 95.92% JavaScript 0.54%

eosio-reference-chrome-extension-authenticator-app's People

Contributors

dependabot[bot] avatar greenbusdriver avatar jeffreyssmith2nd avatar josephjguerra avatar taratritt avatar wpwood avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eosio-reference-chrome-extension-authenticator-app's Issues

Multiple action failure in example

Porting over issue from here: EOSIO/eosio.assert#9

Confirmed this is an issue.

Tropical stay with ual-scatter posts the following to eosjs for a like action:

{
  "actions": [
    {
      "account": "tropical",
      "name": "like",
      "authorization": [
        {
          "actor": "example",
          "permission": "active"
        }
      ],
      "data": {
        "user": "example"
      }
    }
  ]
}

Tropical stay with eosio-reference-chrome-extension-authenticator-app posts the following to eosjs for a like action:

{
  "actions": [
    {
      "account": "tropical",
      "authorization": [
        {
          "actor": "example",
          "permission": "active",
          "$index": 0
        }
      ],
      "data": {
        "user": "example"
      },
      "name": "like",
      "$index": 0
    },
    {
      "account": "eosio.assert",
      "authorization": [
        {
          "actor": "example",
          "permission": "active"
        }
      ],
      "data": {
        "abi_hashes": [
          "d3f5c8c50c3198b1597b42cb94f776e83d22033398595667c1a3204cb58a566c"
        ],
        "actions": [
          {
            "action": "like",
            "contract": "tropical"
          }
        ],
        "chain_params_hash": "e058049edc3d40ec2d669b6fc709ff7bfb8a56c9f91590acd1c0878b34cc368e",
        "manifest_id": "0d9019510a154e5a062cc4dc355f667a2c6875a2ba45cd23ab9e39a2384d3c51"
      },
      "name": "require"
    }
  ],
  "context_free_actions": [],
  "delay_sec": 0,
  "expiration": "2020-01-15T21:54:30.000",
  "max_cpu_usage_ms": 0,
  "max_net_usage_words": 0,
  "ref_block_num": 13762,
  "ref_block_prefix": 1126261660,
  "transaction_extensions": []
}

Error message is:

{
  "type": "Signing",
  "cause": {
    "json": {
      "code": 500,
      "message": "Internal Service Error",
      "error": {
        "code": 3050003,
        "name": "eosio_assert_message_exception",
        "what": "eosio_assert_message assertion failure",
        "details": [
          {
            "message": "assertion failure with message: manifest not found",
            "file": "wasm_interface.cpp",
            "line_number": 1075,
            "method": "eosio_assert"
          },
          {
            "message": "pending console output: ",
            "file": "apply_context.cpp",
            "line_number": 113,
            "method": "exec_one"
          }
        ]
      }
    }
  },
  "source": "EOSIO Auth"
}

If the second action is removed (eosio.assert), the transaction is successful.

Ho to run?

hello,What is i should choose branch? after i 'yarn build' , chorme can not work this extends app!

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.