# Solana

# Adding on-chain kycNFT checks

Utilising the kycNFT program on Solana in order to do an on-chain KYC check is very simple. The kycNFT program exposes a simple CPI interface which can be used to check if an account has a valid kycNFT token.

Essentially, it comes down to calling the has_valid_token function on the kycNFT program, and passing in the account address you want to check.

The example below shows how to do this using the Anchor framework.

# Example

We've written an example program which uses the kycDAO program to check if an account has a valid kycNFT token.

See the example program for more details.

# Contract addresses

Blockchain Network Contract Address
Solana Devnet kycNFT 2Z58CEDXZTCHUsQ7vMYfiXuHo2DJmK9wHXVUGKmNMohn
Solana Mainnet kycNFT 2eDJYtAPuD7tN4bwqwebKN5GRPxRTkVPD1pK4w2MAJnF