Test
First you’ll need to initialize the LiquidAccounts implementation with the chain_id
of the platform you’re operating on. If you are using the #define VACCOUNTS_SUBSCRIBER
definition to use LiquidAccounts from another host account, that host account must be used in place of the chain_id
.
When running the test commands, if you're using leap version 3.0.0+ you'll need to add --use-old-send-rpc -t false
to the cleos command to not use the send_transaction2
rpc by default as seen below. If using the legacy eos software, that flag is not required.
Then you can begin registering accounts. You will need to do this either in a nodejs environment using the dapp-client-lib
, or you can use the zeus vaccounts push-action
. Here is an example of using the lib to register an account..
All payloads must include a key value pair with "vaccount":"vaccountname"
or the transaction will fail. This is so the dapp-client
can fetch the nonce associated with the LiquidAccount.
Last updated
Was this helpful?