Skip to Content
Proof of Contribution

Proof of Contribution

DataPig aims to collect users’ trading preference data. Through our survey journey, we understand users’ trading preferences to obtain their trading profiles. We then further analyze users’ trading habits through the collection of their historical trading data from both CEX and DEX.

Data Verification

Our data verification process ensures:

  • Authenticity: Data is genuine and untampered. The Interest Survey must be completed through DataPig’s platform, where we verify user authenticity through signature verification and Cloudflare Turnstile. DEX Trading History is obtained through The Graph (with user signature ensuring account ownership), and CEX Trading History is acquired through API Keys provided by different CEXs.
  • Ownership: Contributors have legitimate ownership of the data. Users must sign wallet information or provide CEX API_keys to verify data ownership.
  • Quality: Data meets high standards of accuracy and relevance.
    • User interest surveys should not remain static; their token interests should evolve over time.
    • Higher quality is attributed to accounts with more frequent DEX and CEX trading activities.
  • Uniqueness: Contributions are distinct and non-duplicative. Different users will have distinct token interests and trading information. Interest Survey and DEX Trading History require user signatures, preventing duplication. CEX Private Keys can only be bound to one EVM address, ensuring uniqueness.

Data Schema

Here is our current data collection format:

SectorWeightProviderDescriptionProgress
Interest Survey0.1Datapig WebUILimitation is less than 2 times per dayDone
DEX Trading History0.4DEX: Uniswap, Chain: Etherum, BaseMore trade txs will get more rewardWIP
CEX Trading History0.5Binance, OKXThe cex trading history is private data, and more valuableWIP

Data Structure Example:

{ "version": "v0.1", "address": "0xa172577031eafd8b03dce022533863fe988159cd", "unixtime": 1733466250, "suvery": [ { "tokenId": "across-protocol", "like": true, "category": "infrastructure" }, { "tokenId": "doge", "like": false, "category": "meme" } ], "DEX": [ { "transactionHash": "0x2339c3c92317e94672cdb6e39d69e042d5e67f2b59f0f0a74118b330ae0a3b6a", "transactionType": "sell", "blockTimestamp": "2024-12-05T08:12:11.000Z", "walletAddress": "0xa172577031eafd8b03dce022533863fe988159cd", "pairAddress": "0xe6ff8b9a37b0fab776134636d9981aa778c4e718", "pairLabel": "WBTC/WETH", "exchangeName": "Uniswap v3", "exchangeAddress": "0x1f98431c8ad98523631ae4a59f267346ea31f984", "bought": { "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "amount": "3.827024226435305903", "usdPrice": 3873.6908509932464, "usdAmount": 14824.70873247195, "symbol": "WETH", "name": "Wrapped Ether", "tokenType": "token1" }, "sold": { "address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", "amount": "-0.14521667", "usdPrice": 102032.79481218032, "usdAmount": -14816.862693418101, "symbol": "WBTC", "name": "Wrapped BTC", "tokenType": "token0" }, "totalValueUsd": 14816.862693418101 } ... ], "CEX": [ { "exchangeName": "Binance", "symbol": "BNBBTC", "id": 28457, "orderId": 100234, "price": "4.00000100", "qty": "12.00000000", "commission": "10.10000000", "commissionAsset": "BNB", "time": "2025-01-15T02:45:02.000Z", "isBuyer": true, "isMaker": false, "isBestMatch": true } ... ] }
Last updated on