Skip to content

xhldev2/web3objc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web3objc

web3js objective c version(for ios)

struct	
		
	          
web3	- sharedInstance()		
	- setEndPoint(endpoint,chainid)
	
	- *eth		- getGasPrice()	
			- getBlockNumber()	
			- getBalance(address)	
			- getTranactionCount(address)	
			- sendSignedTransaction(signedTx)	
			- signedTransaction(tx,privateKey)	
			- call(tx)	
			- estimateGas(tx)	
			- getChainId()
			
			- *contract	- initWithAddress(contract address)
		                    	- call(function str, argument...)
		                    	- encodeABI(function str, argument...)
		
	          	- *accounts	- create()
		                    	- privateKeyToAccount(privateKey)
		                    	- signTransaction(tx,privateKey)
		                    	- recoverTransaction(rawTx)
		                    	- hashMessage(string)
		                    	- sign(message, privateKey)
		                    	- recover(message, signature)
		                    	- encrypt(privateKey, password)
		                    	- decrypt(jsonDic, password) 
		
		
    	- *utils	- randomHex(size)	
	           	- sha3(string)	
	           	- keccak256(string)	
	           	- toChecksumAddress(address)	
	           	- checkAddressChecksum(address)	
	           	- numberToHex(numberString)	
	           	- hexToNumber(hex)	
	           	- utf8ToHex(String)	
	           	- hexToUtf8(hex)	
	           	- toWei(number, unit)	
	           	- fromWei(number, unit)	
			
	- *crypto	- encrypt(data, public key)  
			- decrypt(enc data, private key)
			- sign(data, private key)
			- verify(data, signature)

Pods/TrezorCrypto/aes.h 41: uncomment

coinvest ios & blockchain developer P.K. (Park Sung Sik)
[email protected]
[email protected]

About

web3js objective c version

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 88.2%
  • C 11.6%
  • Ruby 0.2%