Show KYC ID and role values after cosmos tx success

This commit is contained in:
Shreerang Kale 2024-07-29 14:52:34 +05:30
parent 54fa62bc7f
commit 0eddd43729

View File

@ -8,6 +8,8 @@ import { Registry } from "@cerc-io/registry-sdk";
interface Participant {
cosmosAddress: string;
nitroAddress: string;
role: string;
kycId: string;
}
const registry = new Registry(
@ -69,6 +71,8 @@ const OnboardingSuccess = () => {
<div>
Cosmos Address: {participant.cosmosAddress} <br />
Nitro Address: {participant.nitroAddress} <br />
Role: {participant.role} <br />
KYC ID: {participant.kycId} <br />
<br />
</div>
)}