Code Monkey home page Code Monkey logo

hsether's Introduction

HSEther ether wallet create

基础功能已经实现,不再维护,谢谢大家一直以来的支持!

Your star is my greatest motivation

1.0 Main functions for the time being (2018-04-20)

  • 1.0.1 Create a wallet off-line, and generate corresponding algorithmic mnemonic phrase, private key and keystore ( generate a wallet

  • 1.0.2 Verify the keystore and password of the wallet (import the wallet by keystore

  • 1.0.3 Verify the private key (import the wallet by private key

  • 1.0.4 Verify the mnemonic phrase (import the wallet by Mnemonic Phrase

**For safety's sake, all above are verified locally and off-line without calling API. **

1.1 Main added functions (2018-05-07):

  • 1.1.1 Check the balance of ethereum

  • 1.1.2 Check the balance of ERC20 token based on ethereum public blockchain (the balance of ERC20 token )

1.2 1.1 Main added functions (2018-06-05):

  • 1.2.1 Ethereum transfer

  • 1.2.2 ERC20 token transfer (such as EOS transfer and so on) based on ethereum

1.3 1.1 Main added functions (estimated completion time 2018-06-30):

  • 1.3.1 Query the total amount of ERC20 token

  • 1.3.2 Query the official icon of ERC20 token

  • 1.3.3 Query the decimal places and other things of ERC20 token

1.4 Main added functions (estimated completion time 2018-07)

  • 1.4.1 Custom issue of ERC20 token

Support cocoaPods

# ios version 10.0+
cocoaPods HSEther

See the Demo for specific usage

 [1]Create a wallet

+(void)hs_createWithPwd:(NSString *)pwd block:(void(^)()block;
                  
 [2]Mnemonic phrase import
 
+(void)hs_inportMnemonics:(NSString *)mnemonics pwd:(NSString *)pwd block:(void(^)()block;

 [3]KeyStore import
 
+(void)hs_importKeyStore:(NSString *)keyStore pwd:(NSString *)pwd block:(void(^)()block;

 [4]Private key import

+(void)hs_importWalletForPrivateKey:(NSString *)privateKey pwd:(NSString *)pwd block:(void(^)()block;


 [5]Check the balance of eth and ERC20 token

+(void)hs_getBalanceWithTokens:(NSArray<NSString *> *)arrayToken
                   withAddress:(NSString *)address
                         block:(void(^)(NSArray *arrayBanlance,BOOL suc))block;
                         
 [6]Transfer accounts
 
+(void)hs_sendToAssress:(NSString *)toAddress 
                  money:(NSString *)money 
               tokenETH:(NSString *)tokenETH 
                decimal:(NSString *)decimal 
        currentKeyStore:(NSString *)keyStore 
                    pwd:(NSString *)pwd 
               gasPrice:(NSString *)gasPrice 
               gasLimit:(NSString *)gasLimit 
                  block:(void(^)(NSString *hashStr,BOOL suc,HSWalletError error))block;

Provide .a .frameworke source code including iOS and Android

Provide technical support including iOS and Android

Contact me(wechat): iHoushuai


hsether's People

Contributors

wolfhous avatar

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.