Code Monkey home page Code Monkey logo

Comments (2)

bezalel avatar bezalel commented on June 20, 2024

[clyos --fee-payer option support]

clyos push action yx.ntoken transfer '[ "useraccount3", "useraccount2", "5000.00 DKRW", "memo1" ]' -v producer.g --fee-payer useraccount2 -p useraccount3 -p useraccount2

executed transaction: 067f5d934ef47d2d016e0feaf66adb352146303a7567b23ddad5c2da62120387  184 bytes  1433 us
#     yx.ntoken <= yx.ntoken::transfer          {"from":"useraccount3","to":"useraccount2","amount":"5000.00 DKRW","memo":"memo1"}
#     yx.ntoken <= yx.ntoken::ntransfer         {"from":"useraccount3","to":"useraccount2","token":{"amount":"5000.00 DKRW","issuer":"sysdepo1"},"me...
#  useraccount3 <= yx.ntoken::ntransfer         {"from":"useraccount3","to":"useraccount2","token":{"amount":"5000.00 DKRW","issuer":"sysdepo1"},"me...
#  useraccount2 <= yx.ntoken::ntransfer         {"from":"useraccount3","to":"useraccount2","token":{"amount":"5000.00 DKRW","issuer":"sysdepo1"},"me...
#     yx.ntoken <= yx.ntoken::payfee            {"payer":"useraccount2","token":{"amount":"100.00 DKRW","issuer":"sysdepo1"}}
#  useraccount2 <= yx.ntoken::payfee            {"payer":"useraccount2","token":{"amount":"100.00 DKRW","issuer":"sysdepo1"}}
#      yx.txfee <= yx.ntoken::payfee            {"payer":"useraccount2","token":{"amount":"100.00 DKRW","issuer":"sysdepo1"}}

from yosemite-public-blockchain.

bezalel avatar bezalel commented on June 20, 2024

[transaction message example]

#define YOSEMITE_DELEGATED_TRANSACTION_FEE_PAYER_TX_EXTENSION_FIELD 1002

clyos push action yx.ntoken transfer '[ "useraccount3", "useraccount2", "5000.00 DKRW", "memo1" ]' -v producer.g --fee-payer useraccount2 -p useraccount3 -p useraccount2 -j -d

{
  "expiration": "2018-10-17T09:03:24",
  "ref_block_num": 53886,
  "ref_block_prefix": 2554335991,
  "max_net_usage_words": 0,
  "max_cpu_usage_ms": 0,
  "delay_sec": 0,
  "context_free_actions": [],
  "actions": [{
      "account": "yx.ntoken",
      "name": "transfer",
      "authorization": [{
          "actor": "useraccount3",
          "permission": "active"
        },{
          "actor": "useraccount2",
          "permission": "active"
        }
      ],
      "data": "30f2d414217315d620f2d414217315d620a107000000000002444b5257000000056d656d6f31"
    }
  ],
  "transaction_extensions": [[
      1001,
      "00000357219de8ad"
    ],[
      1002,
      "20f2d414217315d6"
    ]
  ],
  "signatures": [
    "YSG_K1_K2RC4r9fM5PKUDDQ3EztyF6LTErparKi9mDyTK3VZfxMW7a7mLTFg7wJviPGZtmphXWUHeKBDr5ScChKouwzxP18t4iCGo",
    "YSG_K1_JyeRw5tf5sFyQ9d4pSNQzqGch7n3ULF8vm6kXTJvGPskJya4KNhh7sWpMbgz8fcs7WR6Bn9mrpmAtWJJPZ7JREgrZLWeiz"
  ],
  "context_free_data": []
}

from yosemite-public-blockchain.

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.