Radium SmartChain/SmartChain Verify Docs
Overview edit
SmartChain Verify allows you to verify any downloadable file with as little as: copy, paste, click. This documentation will cover the usage of SmartChain Verify, the SmartChain Verify API, and the application of SmartChain Verify Links.
Usage edit
To use SmartChain Verify, simply enter a direct download link. A direct download link is a link to a file download which does not go through redirects or any other interruptions.
If you forget the http/https prefix of the link, SmartChain Verify will attempt to fix the link. While it is likely that SmartChain Verify will be able to fix the link, it is recommended to include the proper prefix to avoid any undesired results.
Registering a File edit
Please use the below tutorial for registering a download on SmartChain Verify.
How to record a file on the SmartChain edit
Link/Button Utility edit
If you would like to provide a SmartChain Verify download link to a file that you host for your users, you may use the following utility:
<a href="https://www.verify.software/link?link={{ insert your download link here }}">{{ insert your download button styling here }}</a>
API edit
Base URL: edit
https://api.verify.software/api?url=
CURL Example: edit
$ curl https://api.verify.software/api?url=https://github.com/ProjectRadium/Radium/releases/download/v1.4.2.1/radiumd-1.4.2.1.exe
{"message": "File successfully verified by a verified user.", "code": 0, "data": {"username": "tm2013", "verified": true, "title": "radiumd-1.4.2.1.exe", "timestamp": 1467084970, "timestamp_utc": "2016-06-28 03:36:10", "user_verified": true, "block": 558321}, "error": false}
Python Example edit
#/usr/bin/env python
# -*- coding: utf-8 -*-
import requests
data = requests.get("https://api.verify.software/api?url=https://github.com/ProjectRadium/Radium/releases/download/v1.4.2.1/radiumd-1.4.2.1.exe").content
print data
{"message": "File successfully verified by a verified user.", "code": 0, "data": {"username": "tm2013", "verified": true, "title": "radiumd-1.4.2.1.exe", "timestamp": 1467084970, "timestamp_utc": "2016-06-28 03:36:10", "user_verified": true, "block": 558321}, "error": false}