NID Skeleton Facets
NID (NexeraID) skeletons resemble basic skeletons but use a different user verification method. In addition to eligibility interfaces, they integrate with ComPilot, an off-chain AML service that adds a KYC layer for enhanced regulatory compliance.
Note
NID skeletons also delegate eligibility checks to their corresponding internal eligibility facet like their non-NID counterparts, while additionally integrating with Compilot.
The basic configuration of a staking platform requires selecting the following NID skeleton facets:
Skeleton | Description |
---|---|
StakingSkeletonNID | Enables users to participate in staking campaigns. |
CampaignCreationSkeletonNID | Provides functionality to create staking campaigns. |
Eligibility Verification
NID Skeletons use the TxAuthDataVerifierFacet from the ComPilot AML platform for user verification. To interact with these platforms, users must complete ComPilot’s KYC, which whitelists their address and generates call data for each interaction.
Users must include this call data - containing a ComPilot signature and metadata like a block expiration number - when calling gated functions. The requireTxDataAuth
modifier verifies this data before allowing function execution (e.g., stake()
), ensuring each interaction is authorized in real time.
Note
Non-view functions in all NID skeletons have the requireTxDataAuth
modifier, which acts as a gating mechanism for users interacting with any functionality of the platform.