Understanding Blockchain-powered Non-Fungible Tokens (NFTs).

import { ValueLedger } from '@0xcert/ethereum-value-ledger';

const mutation = await ValueLedger.deploy(provider, {
name: 'NGN Capital Project Token',
symbol: 'CPT',
decimals: '18',
supply: '500000000000000000000000000', // 500 mio
}).then((mutation) => {
return mutation.complete();
});

const valueLedgerId = mutation.receiverId;
import { AssetLedger } from '@0xcert/ethereum-asset-ledger';

const mutation = await AssetLedger.deploy(provider, {
name: 'Kano Rail Project',
symbol: 'KRP',
uriBase: 'https://0xcert.org/assets/',
schemaId: '0x...',
}).then((mutation) => {
return mutation.complete();
});

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Chimezie Chuta

Chimezie Chuta

253 Followers

IT Professional & Drupal Web Developer. Trainer @ Lagos DrupalVersity. Founder, BlockSpace.Africa, Coordinator, Blockchain Nigeria User Group, 3D Printing guy!