Custom Mosaics Definitions

NEM Library adds already defined Mosaics to be used like XEM model.

How to request a new Mosaic Definition

We like to support as Mosaics as we can, just email us with the mosaic that you would like to add to NEM Library.

We just require that the mosaic must not be mutable.

DimCoin Model

DimToken is from DIMCOIN

export class DimCoin extends MosaicTransferable {

  constructor(amount: number) {
    super(new MosaicId("dim", "coin"), new MosaicProperties(6, 9000000000, true, false), amount);
  }
}

DimToken Model

DimToken is from DIMCOIN

export class DimToken extends MosaicTransferable {

  constructor(amount: number) {
    super(new MosaicId("dim", "token"), new MosaicProperties(6, 10000000, true, false), amount);
  }
}

EcobitEco Model

EcobitEco is from Ecobit project

export class EcobitEco extends MosaicTransferable {
  constructor(amount: number) {
    super(new MosaicId("ecobit", "eco"), new MosaicProperties(0, 8888888888, true, false), amount);
  }
}