# zetrix-development-tool

> A powerful and easy-to-use tool that helps automate your development tasks efficiently.

Latest version **1.0.14** (published 2024-08-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install zetrix-development-tool
pnpm add zetrix-development-tool
yarn add zetrix-development-tool
bun add zetrix-development-tool
```

Provides the command `zetrix-init`.

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.14 |
| Published | 2024-08-20 |
| First published | 2024-06-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 37.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 1 |
| Author | Maslan |
| Maintainers | maslan501 |
| Keywords | zetrix, development, tool |

## Links

- npm: https://www.npmjs.com/package/zetrix-development-tool
- Repository: https://github.com/Zetrix-Chain/zetrix-development-tool
- Homepage: https://github.com/Zetrix-Chain/zetrix-development-tool#readme
- Issues: https://github.com/Zetrix-Chain/zetrix-development-tool/issues
- npm.io page: https://npm.io/package/zetrix-development-tool

## Dependencies (4)

- [dotenv](https://npm.io/package/dotenv.md) ^16.0.1
- [ssl-root-cas](https://npm.io/package/ssl-root-cas.md) ^1.3.1
- [zetrix-sdk-nodejs](https://npm.io/package/zetrix-sdk-nodejs.md) ^1.0.0
- [zetrix-development-tool](https://npm.io/package/zetrix-development-tool.md) ^1.0.14

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.0.14 (latest) — 2024-08-20
- 1.0.13 — 2024-08-20
- 1.0.12 — 2024-08-20
- 1.0.11 — 2024-08-16
- 1.0.10 — 2024-08-16
- 1.0.9 — 2024-08-16
- 1.0.8 — 2024-08-15
- 1.0.7 — 2024-08-14
- 1.0.6 — 2024-07-03
- 1.0.5 — 2024-07-01
- 1.0.4 — 2024-06-28
- 1.0.3 — 2024-06-28
- 1.0.2 — 2024-06-27
- 1.0.1 — 2024-06-27
- 1.0.0 — 2024-06-27

## README

# Zetrix Development Tool


### Initial project structure

```
zetrix-init

```

### ENV file creation

Create dotenv file and fill in the zetrix address, private key and node url information

```
ZTX_ADDRESS=ZTX3KYJ7V3xyqox7yXAYxoiZ7DE8QdbbbXE1T
PRIVATE_KEY=privBx2Z16Fxioo2MzzpJqmfP6kVSeWtZZDYoXpL8ocdaYX3vzdaetdX
NODE_URL=52.81.215.222:19333
```

### Install dependencies

Install all related dependencies. 

```
npm install

```

In case of having error during installation, please check the node version. Current validated node / npm version is as follows (in linux pc, windows might use different version):

```
node = v16.14.0
npm = 8.3.1

```

### Contract development

The contract script can be depicted in the following directory **contracts/**. You can change the filename accordingly. In case of changing the filename, please modify the contract name in **scripts/01_deploy.js** as well.

Contract consist of **base-starting.js**, **body-XXX.js** and ***base-ending.js**.

You can add how many file for  function in body but need to compile before deployment. Please modify ***package.json*** in compile section based on your preference.

### Contract compile

```
npm run compile

```

### Contract deployment

For contract deployment, run the following script.

```
npm run deploy

```


### Run test

To run the test, please execute below command. Modify the **contractAddress** and **input** variable accordingly.

```
npm test tests/test-01.js
```

---
_Source: https://npm.io/package/zetrix-development-tool · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
