ArkEcosystemArchive / ark-ts

Licence: MIT License
An ARK API wrapper, written in TypeScript to interact with ARK blockchain.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to ark-ts

AIPs
ARK Improvement Proposals
Stars: ✭ 26 (+62.5%)
Mutual labels:  ark
ark-invest-api
📈 API for tracking holdings and trades of ARK Invest funds
Stars: ✭ 49 (+206.25%)
Mutual labels:  ark
Server-Creation-Tool
A Tool to easily create Server via SteamCMD
Stars: ✭ 33 (+106.25%)
Mutual labels:  ark
qrcode
A web component to generate QR codes for ARK payments.
Stars: ✭ 18 (+12.5%)
Mutual labels:  ark
wiki
📚 The ARK Ecosystem Wiki
Stars: ✭ 12 (-25%)
Mutual labels:  ark
ark-java
Library for interacting with an Ark Ecosystem Blockchain using the JVM.
Stars: ✭ 15 (-6.25%)
Mutual labels:  ark
paper-wallet
The official Paper Wallet for the ARK Blockchain.
Stars: ✭ 22 (+37.5%)
Mutual labels:  ark
deployer
A small deployment script for ARK Chains, that lets you create your own blockchain in minutes
Stars: ✭ 50 (+212.5%)
Mutual labels:  ark
ARK
ARK is a lightweight, agile, elastic, distributed plugin framework written in C++,make it easier and faster to create your own application service.
Stars: ✭ 411 (+2468.75%)
Mutual labels:  ark
ark-lite-wallet
💰 ARK Lite Wallet https://arkecosystem.github.io/ark-lite-wallet/app
Stars: ✭ 26 (+62.5%)
Mutual labels:  ark
Cross-Ark-Chat
Provides the ability to cross chat between all your Ark Survival Evolved Servers including discord support.
Stars: ✭ 54 (+237.5%)
Mutual labels:  ark
javascript-cli
A CLI in JavaScript for the ARK Blockchain.
Stars: ✭ 48 (+200%)
Mutual labels:  ark
legacy-docs
One common place to gather the relevant documentation and learning materials for all.
Stars: ✭ 13 (-18.75%)
Mutual labels:  ark
cryptology tbw
Cryptology - True Block Weight Voter share payout script for ARK Core blockchains
Stars: ✭ 13 (-18.75%)
Mutual labels:  ark
explorer
A Blockchain Explorer for ARK using Vue.js and Tailwind CSS.
Stars: ✭ 108 (+575%)
Mutual labels:  ark
ark.db
Small and fast JSON database for Node and browser. 😋
Stars: ✭ 65 (+306.25%)
Mutual labels:  ark
Larkator
ARK dino locator that uses your saved .ark
Stars: ✭ 42 (+162.5%)
Mutual labels:  ark
ark-go
Ark GO client for ARK.io blockchain ecosystem #golang #ark #blockchain
Stars: ✭ 14 (-12.5%)
Mutual labels:  ark
ARKcommander
A simple shell script to easily setup an ARK node
Stars: ✭ 13 (-18.75%)
Mutual labels:  ark
ark-kotlin
Library for interacting with an Ark Ecosystem Blockchain using the JVM. Written in Kotlin and fully interoperable with Java & Android.
Stars: ✭ 15 (-6.25%)
Mutual labels:  ark

⚠️ SOON TO BE DEPRECATED IN FAVOR OF https://github.com/ArkEcosystem/core/tree/master/packages/crypto - PLEASE SUBMIT PULL REQUESTS TO THE CORE V2 REPOSITORY ⚠️*

TSARK Logo

TSARK

An ARK API wrapper, written in TypeScript to interact with ARK blockchain.

npm npm license

Lead Maintainer: Lúcio Rubens

TSARK is a library client designed to facilitate how you interact with the ARK blockchain.

Why TypeScript

  • TypeScript is is a superset of JavaScript which mainly offers optional static typing, classes, and interfaces. The learning curve is not that steep.
  • Types are optional, TSARK compiles into ES5 so you can work with both, ECMAScript or TypeScript.
  • A better development experience, including auto-complete and fully documented.

Documentation

API documentation is hosted on github pages, and is generated from TypeDoc.

Installation

TSARK is avaliable from npm.

yarn add ark-ts

or

npm i ark-ts --save

Usage

For the best TypeScript experience, you should either use Visual Studio Code, or a plug-in for your favorite text editor.

Basic Examples

Get delegate list from Devnet network.

import { Client, Network, NetworkType } from 'ark-ts';

const devnet = Network.getDefault(NetworkType.Devnet);
const client = new Client(devnet);

client.delegate.list().subscribe((list) => {
  console.log(list);
});

Get address from passphrase.

import { PrivateKey } from 'ark-ts/core';

// if no specify a second param, default is mainnet
const key = PrivateKey.fromSeed('my secret passphrase');
console.log(key.getPublicKey().getAddress()); // AaWU6X3pGdtSCK3s9weo9tjth64F3hixgT

For more examples please see documentation or look for tests in each directory.

Running the tests

npm run test

Security

If you discover a security vulnerability within this project, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed.

Contributing

  • If you find any bugs, submit an issue or open pull-request, helping us catch and fix them.
  • Engage with other users and developers on ARK Slack.
  • Join the #development channel on Slack or contact our developer Lúcio (@lorenzo).
  • Contribute bounties.

Security

If you discover a security vulnerability within this package, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed.

Credits

This project exists thanks to all the people who contribute.

License

MIT © ARK Ecosystem

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].