Coder Social home page Coder Social logo

althash-ios's Introduction

About

Combining a modified Bitcoin Core infrastructure with an intercompatible version of the Ethereum Virtual Machine (EVM), HTMLCOIN merges the reliability of Bitcoin’s unfailing blockchain with the endless possibilities provided by smart contracts. Designed with stability, modularity and interoperability in mind, HTMLCOIN is the foremost toolkit for building trusted decentralized applications, suited for real-world, business oriented use cases. Its hybrid nature, in combination with a first-of-its-kind PoS consensus protocol, allow AltHash applications to be compatible with major blockchain ecosystems, while providing native support for mobile devices and IoT appliances.

Getting Started

  1. Clone project
  2. Install CocoaPods

To install CocoaPods on your computer.

$ gem install cocoapods

ios version 8+.

Using Terminal open project folder and enter following command to load and connect required libraries

$ pod install
  1. Install Carthage

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

Using Terminal open project folder and enter following command to load and connect required libraries

$ carthage update --platform iOS

Using Terminal open project folder and enter following command to create configuration file

$ ./configure

Change API URLs

Open the project and in the config.xcconfig file change APP_SERVER_HOST

Switch network testnet/mainnet

Open the project and in the config.xcconfig file change APP_IS_MAINNET_SETTINGS to YES/NO

You can set your own settings or use the following

//MAINNET
APP_IS_MAINNET_SETTINGS = YES
APP_SERVER_HOST = mobileapi.htmlcoin.com

Change network parameters

In BTCAddress+Extension.m file set required enum value

enum
{
CustomBTCPublicKeyAddressVersion         = 41,
CustomBTCPrivateKeyAddressVersion        = 169,
CustomBTCScriptHashAddressVersion        = 100,
CustomBTCPublicKeyAddressVersionTestnet  = 100,
CustomBTCPrivateKeyAddressVersionTestnet = 239,
CustomBTCScriptHashAddressVersionTestnet = 110,
};

Technologies

Third Party Libraries

  • 'AFNetworking' – HTTP Client
  • 'MTBBarcodeScanner' – QR-Code/Barcode scanner
  • 'SVProgressHUD' – Custom Loader
  • 'CoreBitcoin' Bitcoin toolkit for Objective-C

Core Bitcoin

CoreBitcoin implements Bitcoin protocol in Objective-C and provides many additional APIs to make great apps. CoreBitcoin deliberately implements as much as possible directly in Objective-C with limited dependency on OpenSSL. This gives everyone an opportunity to learn Bitcoin on a clean codebase and enables all Mac and iOS developers to extend and improve Bitcoin protocol.

Link: https://github.com/oleganza/CoreBitcoin

License

HTMLCOIN is GPLv3 licensed.

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.