Skip to content

Mosaic / Namespace split #48

@dgarcia360

Description

@dgarcia360

Mosaics Changelog

Register a mosaic

    Deadline.create(),
    nonce,
    MosaicId.createFromNonce(nonce, publicKey),
    MosaicProperties.create({
        supplyMutable: true,
        transferable: true,
        levyMutable: false,
        divisibility: 0,
        duration: UInt64.fromUint(0) //nonExpirable
    }),
    NetworkType.MIJIN_TEST);

Remove mosaicName and namespaceId. Ideally, the nonce should not be set by the user, as it is a random number. However, it can be defined as an optional parameter in case some advanced user wants to define its own.

A mosaic can be set non-expirable when it's duration is set to 0. Should we provide a way to set that the mosaic is non-expirable clearly? E.g. : MosaicDefinitionTransaction.createNonExpirable()

Remove "get mosaic by namespace from the mosaic" from MosaicRepository

Method here.

Adapt models related to mosaics

Adapt services related to mosaics

The following related mosaic services use the namespaceId, namespaceName or namespaceHttp:

Metadata

Metadata

Assignees

Labels

breaking-changeBreaks compatibility with previous versionquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions