Skip to content

Sign Developer Platform

Sign Developer Platform, or SDP, gives developers API access to Sign Protocol services, such as paying for decentralized data storage.

General usage

Visit Sign Developer Platform and create an API key with the appropriate scopes. To pay for API key usage, fund the account by purchasing credits with USDC (1 USDC = 100 Credits).

Once the account is funded, you can call these API endpoints:

Attach this header to your API requests:

Headers = {
    'x-sign-api-key': 'API key'
}

Alternatively, use the SDK (>= 0.9.7), which supports API keys.

Uploading data to decentralized storage

To upload data, send POST {endpoint}/sp/offchain-storage with this request body:

{
    "storageType": 'arweave' | 'ipfs' | 'greenfield',
    "data": "your data"
}

Fees are deducted from the account balance. The total fee is the base fee plus the size fee.

Platform Base Fee Size Fee (per byte)
Arweave 0.01 0.0000000006
BNB Greenfield 0.01 0.00000000004
IPFS 0.01 0.000000000002

Fees may be adjusted without notice. All fee units are in Credits.