Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (27 sloc) 1.12 KB

+++ title = "leth shop buy" toc = true +++

leth shop buy

Buys the ACL permission to digital content from owner's online shop, smart contract.



leth shop buy --nodeid=1 --network=rinkeby --shop=0xshopIDF16F003897fb927e22438cb1b820f79879 --acl=0xd966aa573f8AcBfEb3724B661B420c258ceA5D38 --from=0xadC486F16F003897fb927e22438cb1b820f79879

Possible Outputs:

{"error": {"code": "SOME/INTERNAL/ERROR/CODE", "message": "explanatory error message"}}
leth shop buy [flags]


      --acl string       ACL ID to buy.
      --from string      The account buying the ACL permission.
  -h, --help             help for buy
      --network string   Possible values: 'sirius', 'mainnet', 'standalone', 'rinkeby', 'ganache'.
      --nodeid int       ID of the node in order to support multiple nodes on the same machine. 0 by default.
      --shop string      Shop ID where ACL can be bought.


  • leth shop - Features LethShop's pkg capabilities over CLI such as selling/buying digital content.
Auto generated by spf13/cobra on 31-May-2019
You can’t perform that action at this time.