All Projects → Cryptonomic → Conseiljs

Cryptonomic / Conseiljs

Licence: apache-2.0
Client-side library for building decentralized applications.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Conseiljs

chainlink defi
Build a defi yield farmable dApp. Get started here.
Stars: ✭ 134 (+67.5%)
Mutual labels:  decentralized-applications
Swim
Distributed software platform for building stateful, massively real-time streaming applications.
Stars: ✭ 368 (+360%)
Mutual labels:  decentralized-applications
Eosocial
Deprecated - 📝 Sample dApp of Votable SNS run by EOS Testnet.
Stars: ✭ 14 (-82.5%)
Mutual labels:  decentralized-applications
auth
Decentralized authentication and authorization for team collaboration, using a secure chain of cryptological signatures. (Formerly known as 🌮 Taco.)
Stars: ✭ 78 (-2.5%)
Mutual labels:  decentralized-applications
hero-node
Hero Node is a cross-public-blockchain and cross-platform DApp development platform and solutions.
Stars: ✭ 67 (-16.25%)
Mutual labels:  decentralized-applications
Alternative Internet
A collection of interesting new networks and tech aiming at decentralisation (in some form).
Stars: ✭ 4,510 (+5537.5%)
Mutual labels:  decentralized-applications
stow-js
Stow JavaScript API -- Formerly linnia-js
Stars: ✭ 20 (-75%)
Mutual labels:  decentralized-applications
Waves
⛓️ Reference Waves Blockchain Node (client) implementation on Scala
Stars: ✭ 1,077 (+1246.25%)
Mutual labels:  decentralized-applications
Web3.swift
A pure swift Ethereum Web3 library
Stars: ✭ 295 (+268.75%)
Mutual labels:  decentralized-applications
Solidity Smart Contracts
smart contracts which are built on ethereum wallet mist,truffle compiler using solidity language.
Stars: ✭ 11 (-86.25%)
Mutual labels:  decentralized-applications
syscoin
Syscoin is a crypto currency that is universally merge-mineable and offers a unique variety of services including decentralized identities, asset token issuance platform capabilities directly on the blockchain and trustless 0-counterparty interoptibility with the Ethereum blockchain
Stars: ✭ 152 (+90%)
Mutual labels:  decentralized-applications
sol-trace
Trace runtime failures for solidity
Stars: ✭ 26 (-67.5%)
Mutual labels:  decentralized-applications
Asch
Asch is an efficient, flexible, safe and decentralized application platform, which was initially designed to lower the barrier to entry for developers.The services provided by the Asch platform include a public chain and a set of application SDKs.
Stars: ✭ 484 (+505%)
Mutual labels:  decentralized-applications
awesome-blockchain
A curated list of blockchain resources for developers
Stars: ✭ 106 (+32.5%)
Mutual labels:  decentralized-applications
Swarmdb
Wolk SWARMDB - Decentralized Database Services for Web3
Stars: ✭ 34 (-57.5%)
Mutual labels:  decentralized-applications
Scatter-Demos
A set of integration demos using eosjs and Scatter
Stars: ✭ 80 (+0%)
Mutual labels:  decentralized-applications
Decentralized Internet
A SDK/library for decentralized web and distributing computing projects
Stars: ✭ 406 (+407.5%)
Mutual labels:  decentralized-applications
Awesome Decentralized Web
an awesome list of decentralized services and technologies
Stars: ✭ 1,159 (+1348.75%)
Mutual labels:  decentralized-applications
Toxic
An ncurses-based Tox client (please make pull requests on the development fork: https://github.com/toktok/toxic)
Stars: ✭ 987 (+1133.75%)
Mutual labels:  decentralized-applications
Graphite
Encrypted, secure, user-owned productivity suite
Stars: ✭ 505 (+531.25%)
Mutual labels:  decentralized-applications

ConseilJS-core

npm version npm Build Status Coverage Status Quality Gate Status conseiljs

A library for building decentralized applications in Typescript and Javascript, currently focused on the Tezos platform.

ConseilJS connects to Tezos nodes for live chain data and operations and to Conseil servers for high-performance analytics on blockchain data. Internally, Cryptonomic uses Nautilus for infrastructure deployments of these services. This is the library at the core of our products – Arronax, Periscope, Harpoon and certainly Galleon. There are ReasonML bindings as well.

Cryptonomic offers an infrastructure service - Nautilus Cloud which enables quick access to the Tezos platform along with products that make it easier build on it.

Sub-modules

As of version 5.0.0, ConseilJS has been split into three parts: this library, which is considered to be the core, ConseilJS-softsigner and ConseilJS-ledgersigner. This was done in an effort to make the library more portable across different environments. If neither of these additional modules meet your needs, the Signer and KeyStore interfaces can be implemented separately. In addition to a Signer and a KeyStore, fetch and logger objects are required to be provided, see below.

For more details on how to use these libraries see their respective readme files: ConseilJS-core, ConseilJS-softsigner, ConseilJS-ledgersigner. There is also an AWS KMS signer that is compatible with ConseilJS, maintained by @tacoinfra.

Use with Nodejs

Add our NPM package to your project and a signing library.

npm i conseiljs
npm i conseiljs-softsigner
import fetch from 'node-fetch';
import * as log from 'loglevel';

import { registerFetch, registerLogger, Signer, TezosMessageUtils } from 'conseiljs';
import { KeyStoreUtils, SoftSigner } from 'conseiljs-softsigner';

const logger = log.getLogger('conseiljs');
logger.setLevel('debug', false);
registerLogger(logger);
registerFetch(fetch);

let signer: Signer;
const keyStore = await KeyStoreUtils.restoreIdentityFromSecretKey('edskRgu8wHxjwayvnmpLDDijzD3VZDoAH7ZLqJWuG4zg7LbxmSWZWhtkSyM5Uby41rGfsBGk4iPKWHSDniFyCRv3j7YFCknyHH');
signer = await SoftSigner.createSigner(TezosMessageUtils.writeKeyWithHint(keyStore.secretKey, 'edsk'), -1);

Use with React

We have a complete React application tutorial for you to check out.

Use with React Native

Project honeybadger, which is the basis for Galleon Mobile us built with ConseilJS as well. Due to limitations of react-native we re-implemented some of the necessary functionality into a separate module.

Use with Web

<html>
<head>
    <script src="https://cdn.jsdelivr.net/gh/cryptonomic/conseiljs/dist-web/conseiljs.min.js"
        integrity="sha384-sEYMVfIFpMORsZMgO4YyC0/fVSRBZjbkCYnA5A6HxBpKbxhbLG475Ru1hOjWSK7f"
        crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/gh/cryptonomic/conseiljs-softsigner/dist-web/conseiljs-softsigner.min.js"
        integrity="sha384-V1iaajn0x/SMFcZ9Y/xNQmqQSKyll6Dzt27U6OWiv8NdbHTVaHOGHdQ8g0G68HPd"
        crossorigin="anonymous"></script>
    <script>
        //conseiljssoftsigner.
    </script>
</head>
<body>
    ...
</body>
</html>

The web version sets fetch and logger internally to window.fetch and console respectively.

A fully functional sample html page is available too.

API Overview and Examples

We have ready-to-use examples to copy/paste.

Contribute

There are many ways to contribute to this project. You can develop applications or dApps with it. You can submit bug reports or feature requests. You can ask questions about it on r/Tezos or the Tezos StackExchange. We certainly welcome pull requests as well.

Other references

Developer Handbook

Smart Contract Development Syllabus

Wiki

Riot Dev Channel

Cryptonomic Reddit

The Cryptonomic Aperiodical

@CryptonomicTech

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].