Inspiration

Singpass to Polkadot DID Bridge Convert a Singpass login into a revocable, self-sovereign DID on Polkadot — KYC-free, instantly usable for DeFi and governance.

What it does

Transforms Singpass authentication into a user-controlled Polkadot DID using off-chain validation. Provides immediate, revocable access to DeFi, governance, and apps — fully independent.

How we built it

Developed a Substrate pallet using off-chain workers to verify Singpass tokens and anchor DID hashes on-chain. Linked a React app via Polkadot.js for seamless login, transaction signing, and real-time DID display.

Challenges we ran into

Simulating Singpass OAuth demanded a custom local server to mimic token flow and signature checks. Coordinating off-chain worker execution with live UI updates led to early sync hiccups.

Accomplishments that we're proud of

Created a working Singpass-to-Polkadot DID converter in just 48 hours using only Polkadot SDK components. Enabled real-time revocation and privacy-preserving identity storage — aligned with Singapore’s data rules.

What we learned

Mastered secure handling of official JWTs via Substrate off-chain workers while keeping keys private. Discovered how to fuse Singapore’s national ID framework with Polkadot’s decentralized systems.

What's next for Resilient-Apps-with-Polkadot-Cloud

Advancing Polkadot Cloud with Polkadot 2.0 features to support diverse languages and VM-style execution. Enabling builders to launch robust, interconnected applications across worldwide nodes for unbreakable Web3 systems.

Built With

  • blake2256hashing
  • frame-support
  • frame-system
  • googleoauth
  • jsonwebtoken
  • offchainworkers
  • polkadot
  • polkadotjsapi
  • react
  • reqwest-react
  • rust
  • sp-offchain-jsonwebtoken
  • websocket
  • xcmreadydidformat
Share this project:

Updates