Affinidi Forge
AFFINIDI FORGE

Built by developersfor developers

Complete toolkit to build trust-enabled applications with multi-language SDKs, comprehensive documentation, and world-class developer experience.

Use your favourite language

Official SDKs and community libraries for all major platforms

TS

TypeScript / JavaScript

Stable
PY

Python

Stable
PHP

PHP

Stable
JV

Java

Stable
RS

Rust

Beta
DT

Dart / Flutter

Stable
C#

.NET / C#

Stable

Get started in minutes

Install the TDK and issue your first credential

  • 1

    Create Project

    Sign up at Affinidi Portal

  • 2

    Install TDK

    Add to your Node.js project

  • 3

    Configure Auth

    Set up Personal Access Token

  • 4

    Issue Credential

    Create and sign your first VC

// Install Affinidi TDK
npm install @affinidi-tdk/auth-provider
npm install @affinidi-tdk/credential-issuance-client

// Set up authentication
import { AuthProvider } from '@affinidi-tdk/auth-provider';

const authProvider = new AuthProvider({
  privateKey: process.env.PAT_PRIVATE_KEY,
  passphrase: process.env.PAT_PASSPHRASE,
  tokenId: process.env.PAT_ID,
  projectId: process.env.PROJECT_ID,
});

// Issue a credential
import { IssuanceApi, Configuration } from
  '@affinidi-tdk/credential-issuance-client';

const api = new IssuanceApi(new Configuration({
  apiKey: authProvider.fetchProjectScopedToken.bind(authProvider)
}));

const response = await api.startIssuance({
  credentialTypeId: 'EmploymentCredential',
  holderDid: 'did:key:z6Mkv...',
  credentialData: {
    employer: 'Acme Corp',
    position: 'Senior Developer',
    startDate: '2024-01-15'
  }
});

Interactive CLI demo

Experience the Affinidi CLI directly in your browser. Type commands to explore capabilities.

Affinidi CLI: Interactive Demo
Affinidi CLI v2.5.0 - Interactive Demo
Type "affinidi --help" to see available commands
$

Building trust through open standards

We actively contribute to global open standards organisations and maintain open-source projects that enable interoperable trust ecosystems.

Active contributors to

Decentralized Identity Foundation
Decentralized Identity Foundation
World Wide Web Consortium
World Wide Web Consortium
Global Legal Entity Identifier Foundation
Global Legal Entity Identifier Foundation
AYRA
AYRA

Open standards implementation

DIDComm v2.1
DID:WebVH
Selective Disclosure (SD-JWT)
Digital Credentials Query Language (DCQL)
European Digital Identity (EUDI)

Our open source projects

Join our community

Contribute to open standards and help build the Internet of Trust

Ready to start building?

Join thousands of developers building the future of trust infrastructure.

Cookie Preferences

We use cookies to enhance your experience. You can manage your preferences below. For more information, read our Cookie Policy.

Strictly Necessary Always Active

These cookies are essential for core website functions such as security, session integrity, and cookie preference storage. They cannot be disabled.

  • _cf_bm: Distinguishes humans from bots (Cloudflare) · 30m
  • _cfuvid: Ensures secure browsing (Cloudflare) · Session
  • __hs_initial_opt_in: Prevents HubSpot's banner · 7 days
  • _gtm_debug: GTM debug mode (testing only) · Session
Analytics

These cookies help us understand how visitors interact with the site so we can improve content and performance. All data is aggregated and anonymous.

  • _ga, _gid, _gat: Google Analytics · Session – 2 years
  • __hstc, hubspotutk, __hssrc: HubSpot visitor tracking · 13 months
  • __hs_opt_out: HubSpot opt-out preference · 6 months
Marketing & Targeting

These cookies allow us and our partners to serve personalised ads and measure campaign performance.

  • _gcl_au, _gcl_dc: Google Ads conversion tracking · 90 days
  • IDE: Google Display Network personalisation · 1 year
  • _fbp: Meta / Facebook remarketing · 90 days
  • li_gc, _li_fat_id, bcookie: LinkedIn tracking · 1–24 months
  • guest_id, personalization_id: Twitter/X analytics · 2 years