To begin using the framework call the initialization method to initialize the block chains with their contract data.
try await CryptoScraper.initialize()
Testing
In order for testing to succeed, a test contract is needed for each chain. These contracts can be provided in the environment as follows:
Service
Environment Variable
Bitcoin
BTC_TEST_CONTRACT_ADDRESS
Ethereum
ETH_TEST_CONTRACT_ADDRESS
Fantom
FTM_TEST_CONTRACT_ADDRESS
BNB
BSC_TEST_CONTRACT_ADDRESS
Matic
POLYGON_TEST_CONTRACT_ADDRESS
Optimism
OPTIMISTIC_TEST_CONTRACT_ADDRESS
Tron
TRON_TEST_CONTRACT_ADDRESS
Full Documentation
For complete documentation, please refer to the DocC documentation in Xcode or here for an online version (see the documentation tab in the top-right).
Contributing
All contributions are welcome! Please see CONTRIBUTING.md for more details.
CryptoScraper
CryptoScraper is a package for generalizing the retrieval of information from crypto block chains.
How To Get Started
Swift Package Manager
CryptoScraper supports the Swift Package Manager. To include CryptoScraper in your project add the following to your Package.swift file:
API Keys
To begin, api keys need to be set in order to access various services. These keys are stored in environment variables as follows:
To begin using the framework call the initialization method to initialize the block chains with their contract data.
Testing
In order for testing to succeed, a test contract is needed for each chain. These contracts can be provided in the environment as follows:
Full Documentation
For complete documentation, please refer to the DocC documentation in Xcode or here for an online version (see the documentation tab in the top-right).
Contributing
All contributions are welcome! Please see CONTRIBUTING.md for more details.
Maintainers
This project is maintained by David Hunt owner of FOS Computer services, LLC.
License
CryptoScraper is under the MIT License. See the LICENSE file for more information.