npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

p-eos-tool

v0.0.9

Published

eos tool

Downloads

4

Readme

p-eos-tool

Description

eos tools

install

yarn global add p-eos-tool

upgrade

yarn global upgrade p-eos-tool@latest

examples

help

p-eos-tool --help
p-eos-tool build_transfer_tx --help

build_transfer_tx

p-eos-tool build_transfer_tx

return:
tx_id:  b5ffdd1a4405cd891e917b4622b1790f2cedf959f1beebec633ecbfa7242eabe
tx:  {"expiration":"2019-01-22T04:44:43.000","ref_block_num":37504,"ref_block_prefix":3131011111,"max_net_usage_words":0,"max_cpu_usage_ms":0,"delay_sec":0,"context_free_actions":[],"actions":[{"account":"ethsidechain","name":"transfer","authorization":[{"actor":"laijiyong123","permission":"active"}],"data":"304460937AF79C893044C054A94DA397102700000000000004454554480000000474657374"}],"transaction_extensions":[]}
may be you want to do: 
p-eos-tool sign_tx --tx='{"expiration":"2019-01-22T04:44:43.000","ref_block_num":37504,"ref_block_prefix":3131011111,"max_net_usage_words":0,"max_cpu_usage_ms":0,"delay_sec":0,"context_free_actions":[],"actions":[{"account":"ethsidechain","name":"transfer","authorization":[{"actor":"laijiyong123","permission":"active"}],"data":"304460937AF79C893044C054A94DA397102700000000000004454554480000000474657374"}],"transaction_extensions":[]}'

sign_tx

p-eos-tool sign_tx --tx='{"expiration":"2019-01-22T04:44:43.000","ref_block_num":37504,"ref_block_prefix":3131011111,"max_net_usage_words":0,"max_cpu_usage_ms":0,"delay_sec":0,"context_free_actions":[],"actions":[{"account":"ethsidechain","name":"transfer","authorization":[{"actor":"laijiyong123","permission":"active"}],"data":"304460937AF79C893044C054A94DA397102700000000000004454554480000000474657374"}],"transaction_extensions":[]}'

return:
SIG_K1_KdC7iwSbCVMub8iCjfacq5SDAFvKd3V9fY1iWw6AE8ovdaUA29z1nmzkEk9T8v84hhh7YXAa1yc7Uxoz56XYQWLBGqra3R
may be you want to do: 
p-eos-tool push_tx --sigs='["SIG_K1_KdC7iwSbCVMub8iCjfacq5SDAFvKd3V9fY1iWw6AE8ovdaUA29z1nmzkEk9T8v84hhh7YXAa1yc7Uxoz56XYQWLBGqra3R"]' --tx='{"expiration":"2019-01-22T04:44:43.000","ref_block_num":37504,"ref_block_prefix":3131011111,"max_net_usage_words":0,"max_cpu_usage_ms":0,"delay_sec":0,"context_free_actions":[],"actions":[{"account":"ethsidechain","name":"transfer","authorization":[{"actor":"laijiyong123","permission":"active"}],"data":"304460937AF79C893044C054A94DA397102700000000000004454554480000000474657374"}],"transaction_extensions":[]}'

push_transaction

p-eos-tool push_tx --sigs='["SIG_K1_KdC7iwSbCVMub8iCjfacq5SDAFvKd3V9fY1iWw6AE8ovdaUA29z1nmzkEk9T8v84hhh7YXAa1yc7Uxoz56XYQWLBGqra3R"]' --tx='{"expiration":"2019-01-22T04:44:43.000","ref_block_num":37504,"ref_block_prefix":3131011111,"max_net_usage_words":0,"max_cpu_usage_ms":0,"delay_sec":0,"context_free_actions":[],"actions":[{"account":"ethsidechain","name":"transfer","authorization":[{"actor":"laijiyong123","permission":"active"}],"data":"304460937AF79C893044C054A94DA397102700000000000004454554480000000474657374"}],"transaction_extensions":[]}'

notes

1、config file should locate at ~/config.json. such as:

{
  "priv_file": "/path/to/priv.json",
  "account": "laijiyong123",
  "contract": "ethsidechain",
  "from": "laijiyong123",
  "to": "myloveeos123",
  "quantity": "1.0000 EETH",
  "memo": "test"
}

2、priv.json:

{
  "priv": "***"
}