Giter VIP home page Giter VIP logo

jingtum-lib-objectc's Introduction

jingtum-lib-objective-c

The jingtum-lib-objective-c library to be used for interacting with jingtum blockchain network. This is the objective-c version.

Jingtum introduction

Jingtum is one of the most mature block chain platforms at home and abroad. It is the only block chain technology that has been tested by large-scale applications. Jingtum company has built up a well connected block chain platform (public chain), which is located in the development of a block chain ecosystem with various applications. [website][1]

Source code

  • src/jingtum-lib - The source codes of jingtum lib.
  • src/ViewController.m - The tests for jingtum lib.
  • Samples - The samples to use the jingtum lib.
  • docs - The documentation for the jingtum lib.

Supporting Environment

  • MacOS

Development Environment

  • MacOS
  • Xcode

References:

The following libraries are referenced.

Installation

After download this sourcecode, we should run

pod install

to download the nessessary libraries

Also jingtum-lib-objectc is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "jingtum-lib-objectc"

Attention

After run

pod install

we get all the needed libraries, then we should modify the file: Pods/CoreBitcoin/CoreBitcoin/BTCBase58.m from

static const char* BTCBase58Alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";

to

static const char* BTCBase58Alphabet = "jpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65rkm8oFqi1tuvAxyz";

Summary

The jingtum-lib-objective-c library is based on the ws protocol to connect with jingtum system. The Remote class provides public APIs to create two kinds of objects: Request object by GET method, and Transaction object by POST method. And then can submit data to server through Submit() method.

How to use

  1. Create a new instance of Remote class.
    Remote *remote = [Remote instance];
  1. Connect to server.
    [remote connectWithURLString:@"ws://123.57.219.57:5020" local_sign:true];
  1. Close the connection
    remote.Disconnect();

Licensing

jingtum-lib-objective-c is released under the terms of the MIT license. See COPYING for more information or see MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.