Show role and KYC id in onboarding success page #4

Merged
nabarun merged 2 commits from ag-update-ui into kyc-integration 2024-07-29 09:50:18 +00:00
2 changed files with 5 additions and 1 deletions

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>
)}

View File

@ -35,7 +35,7 @@ const SignWithNitroKey = () => {
const message = useMemo(() => {
return {
msg: "Register my account as a validator on the Laconic network",
msg: "Register my account as a participant on the Laconic network",
address: ethAddress,
};
}, [ethAddress]);