dev-crew-it / easy-rgb

A collection of tools that make the integration of RGB on the lightning network easy
GNU General Public License v2.0
1 stars 0 forks source link

Issuing an RGB asset #12

Closed vincenzopalazzo closed 2 months ago

vincenzopalazzo commented 2 months ago

Full Support for Issuing an RGB asset

➜  easy-rgb git:(macros/cln-async) ✗ clightning --testnet -k issueasset amounts='[ 1000 ]' ticker=MONKEY name=MonkeyCorp precision=0
{
   "asset_id": "rgb:3ee69MY-UKYCDFMtz-2j9miayQ7-ecvq2kVLT-2j8iXquaj-u1LrU1",
   "asset_iface": "RGB20",
   "ticker": "MONKEY",
   "name": "MonkeyCorp",
   "details": null,
   "precision": 0,
   "issued_supply": 1000,
   "timestamp": 1713016514,
   "added_at": 1713016514,
   "balance": {
      "settled": 1000,
      "future": 1000,
      "spendable": 1000
   },
   "media": null
}

P.S: Please not steal my coin name 😄

Originally posted by @vincenzopalazzo in https://github.com/vincenzopalazzo/easy-rgb/issues/10#issuecomment-2053653676

vincenzopalazzo commented 2 months ago

This is now supported inside the plugin