DocsGetting StartedDeveloper Platform

CL2C Developer Platform

Explore how to get started with the CL2C Developer Platform and integrate with the Cordoba Layer 2 Blockchain.

Welcome to the CL2C Developer Platform—your gateway to building powerful, secure applications on the Cordoba Layer 2 Blockchain. This platform provides the tools, resources, and API documentation you need to start creating and managing digital assets on CL2C.

Getting Started with the Developer Platform

  1. Create a Developer Account

    • Sign up for a CL2C Developer Account [link to signup].
    • Choose the plan that best suits your needs:
      • Developer Plan: For individual developers and small teams.
      • Enterprise Plan: Customizable for larger organizations (available by request).
  2. Generate API Credentials

    • After setting up your account, navigate to the API Keys section.
    • Generate an API key and API secret for secure access to CL2C's functionality.
  3. Choose a Client Library

    • CL2C supports various programming languages. Select a client library for your preferred language, which can be installed via npm, yarn, or other package managers.
  4. Authenticate Your Requests

    • Include your API Key and API Secret in the headers of each API request to authenticate and secure access.

Sample Code (using Python)

import requests
 
# Replace with your actual API credentials
api_key = "YOUR_API_KEY"
api_secret = "YOUR_API_SECRET"
 
# Base URL for the CL2C API
base_url = "https://api.cl2c.com/v1"
 
# Example API endpoint to create a new digital asset
url = f"{base_url}/assets"
 
# Set headers with your API credentials
headers = {
    "Authorization": f"Basic {api_key}:{api_secret}"
}
 
# Send a POST request to create the asset
response = requests.post(url, headers=headers)
 
# Check the response status code
if response.status_code == 201:
    print("Asset created successfully!")
else:
    print(f"Error creating asset: {response.text}")

Next Steps

With your API set up, you’re ready to dive into CL2C’s full capabilities. Check out our Confida app documentation to see how biometric authentication can add another layer of security to your assets.