tschess/EthGameSDK


Ethereum SDK for In-Game Asset Ownership

https://cocoapods.org/pods/EthGameSDK

License: MIT

Language: Swift


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.

Project Statistics

Sourcerank 4
Repository Size 44.9 KB
Stars 1
Forks 1
Watchers 1
Open issues 0
Dependencies 2
Contributors 1
Tags 14
Created
Last updated
Last pushed

Top Contributors See all

S. Matthew English

Packages Referencing this Repo

EthGameSDK
Ethereum SDK for In-Game Asset Ownership
Latest release 0.1.0 - Updated - 1 stars

Recent Tags See all

0.1.0 January 12, 2020
0.1.0 January 12, 2020
0.0.9 January 12, 2020
0.0.8 January 12, 2020
0.0.7 January 12, 2020
0.0.6 January 12, 2020
0.0.6 January 12, 2020
0.0.5 January 12, 2020
0.0.4 January 12, 2020
0.0.3 January 12, 2020
0.0.3 January 12, 2020
0.0.2 January 12, 2020
0.0.1 January 12, 2020
0.0.1 January 12, 2020

Something wrong with this page? Make a suggestion

Last synced: 2020-01-15 00:17:11 UTC

Login to resync this repository