New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

tzklar

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tzklar

Building blocks for Tezos contracts

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

tzKlar

npm

tzklar

Building blocks for Tezos contracts

https://tzklar.com

How to install

Install via npm or yarn

npm install tzklar
yarn add tzklar

How to use

If you need TypeScript types for defining TZIP12, TZIP16 and TZIP21 compliant JSON metadata files:

import { ContractMetadata, TokenMetadata } from "tzklar";

const myContractMetadata: ContractMetadata = {
  /* ... */
};

const myTokenMetadata: TokenMetadata = {
  /* ... */
};

Also you can check out our documentation page: https://klarluft.github.io/tzklar/

Development

To setup development environment:

yarn

If you update TZIP schema.json files and you want to regenerate TypeScript types files, run:

yarn process-json-schema

About

This repository is part of the tzKlar project intended to help others build apps on Tezos.

The project is maintained by Michal Wrzosek from Klarluft company.

FAQs

Package last updated on 29 Dec 2021

Related posts