Add a new revenue stream with 5 minutes of integration. Your users earn in-app rewards, you earn passive income, everyone wins.
Simple 3-party value exchange that benefits everyone
Integrate SDK into your Android app
Users share idle bandwidth for rewards
Get $0.10/GB passive revenue
See how much you could earn with your user base
Add the SDK to your Android app in 5 simple steps
Add JitPack repository to your settings.gradle.kts:
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}Add SDK to build.gradle.kts:
dependencies {
implementation("com.github.proxies-sx:android-peer-sdk:1.0.8")
}Create res/xml/network_security_config.xml:
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
</trust-anchors>
</base-config>
</network-security-config>Reference in AndroidManifest.xml:
<application
android:networkSecurityConfig="@xml/network_security_config"
...>In your Application class:
class MyGameApplication : Application() {
override fun onCreate() {
super.onCreate()
ProxiesPeerSDK.init(
context = this,
apiKey = "your-api-key" // Get from client.proxies.sx
)
}
}Offer bandwidth sharing to users:
ProxiesPeerSDK.getInstance().apply {
if (canStart()) {
start()
showToast("Earning rewards activated!")
} else {
// SDK will show consent dialog automatically
}
}Listen for earnings and credit user accounts:
lifecycleScope.launch {
ProxiesPeerSDK.getInstance().getEarnings().collect { earnings ->
// Convert cents to your in-app currency
val gems = (earnings.totalEarnedCents / 10) // 10 cents = 1 gem
// Credit user's account
if (gems > 0) {
GameManager.addGems(gems)
showNotification("You earned $gems gems from bandwidth sharing!")
}
}
}Complete API documentation for the Peer Network SDK
How other developers are using the SDK
Players earn gems/coins by sharing bandwidth
Remove ads for users who share bandwidth
Unlock premium features via bandwidth sharing
Convert bandwidth into workout credits or points
Follow these guidelines for optimal results
Enterprise-grade infrastructure with built-in security
All traffic encrypted via HTTPS/WSS. TLS passthrough - devices never decrypt.
30-day tokens for device auth. Customer validation on every request.
Private IP blocking, rate limiting, fraud detection built-in.
Minimal footprint, maximum revenue
Built with privacy and compliance in mind
Simple, transparent payment terms
Latest updates and improvements
Get your API key and start earning passive revenue in 5 minutes