Skip to content
Albert Castellana edited this page Jan 24, 2017 · 6 revisions

Welcome to NEM Nano Snippets

Use this repository as the go-to place for NEM NanoWallet Snippets. This will be a comprehensive list of common functions to use when building a NanoWallet module.

Feel free to add or improve any.

processRecipient(transferData)

READ

checkAccess() ownsMosaic(address, namespace, mosaic) getTransactionMessagesWithString(address, str, start) getLastMessagesWithString(address, str, start) isAvaliableForMultiSig(address)

WRITE

Non transacting

createBrainWallet(seed)

MultiSig related

sendOwnedBy(subjectFullAccount, ownerAccounts)

Transaction related

send(entity, common) sendMessage(recipient, message, common) sendMosaic(recipient, namespaceId, mosaics, amount, common, options)

Clone this wiki locally