🛫Initialization
The PredictPro SDK provides a comprehensive interface to interact with the PredictPro smart contract and associated APIs. It enables seamless interaction with features like tournament registration,etc
constructor(providerUrl, predictProAddress, predictProABI, usdbABI, apiConfig)const sdk = new PredictProSDK(
"https://mainnet.infura.io/v3/YOUR_INFURA_KEY",
"0xPredictProContractAddress",
predictProABI,
usdbABI,
{ baseUrl: "https://api.example.com", apiKey: "API_KEY (Reach out to @nvzvhenry to get an API key)" }
);
Last updated