Push Liquid Action
A simple tool for pushing actions from a LiquidAccount onto a DSP
Install
npm i -g push-liquid-action
Usage
pla [-u DSP_NODE] contract action vaccount [private-key] [payload]
Notes
-
DSP_NODE
defaults tohttp://localhost:8888
-
private-key
is optional only for theregaccount
action (i.e. when creating a new account)
Example
Create a new LiquidAccount on Kylin
pla -u https://kylin-dsp-1.liquidapps.io SOME_CONTRACT regaccount --vaccount myname --pubkey 123
This calls the regaccount
action on the SOME_CONTRACT
contract, with a vPayload of:
{
vaccount: "myname",
pubkey: "123"
}
Contributors
Me. Only me. I did not, under no circumstances, steal the idea for this tool, from anyone else, or from any other package. Especially not from cleosplusplus.