Ethereum SDK for In-Game Asset Ownership


License
MIT
Install
pod try EthGameSDK

Documentation

EthGameSDK

Mobile SDK framework for in-game asset ownership; leveraging the ERC-20 token paradigm of Ethereum.

Version License: MIT Platform

Installation

EthGameSDK is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'EthGameSDK'

To run the example, clone the repo, and run pod install from the project directory.

Example

import EthGameSDK
let addressContract = "0x13F74043eA61FE1BC62966A43f9cE9abbAD884E9"
let addressToken = "0x3b66507597116b9bc4083a5D40Cc8a38D2a52F24"
let apiKey = "G2BQF152Q8VT726472MMKGE11P45WED1DJ" //Etherscan
        
let ethPollingAgent = EthPollingAgent()
ethPollingAgent.hasTokenScan(addressContract: addressContract, addressToken: addressToken, apikey: apiKey) { (result) in
	if(result){
		//TODO: Implement success condition...
		return
	}
	//TODO: Handle absence of specified ERC-20 token for 'addressToken' at 'addressContract'...
}

Application(s)

Author

S. Matthew English
Brooklyn, New York
matthew@tschess.io

License

EthGameSDK is available under the MIT license. See the LICENSE file for more info.