Show role and KYC id in onboarding success page #4
@ -8,6 +8,8 @@ import { Registry } from "@cerc-io/registry-sdk";
|
|||||||
interface Participant {
|
interface Participant {
|
||||||
cosmosAddress: string;
|
cosmosAddress: string;
|
||||||
nitroAddress: string;
|
nitroAddress: string;
|
||||||
|
role: string;
|
||||||
|
kycId: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const registry = new Registry(
|
const registry = new Registry(
|
||||||
@ -69,6 +71,8 @@ const OnboardingSuccess = () => {
|
|||||||
<div>
|
<div>
|
||||||
Cosmos Address: {participant.cosmosAddress} <br />
|
Cosmos Address: {participant.cosmosAddress} <br />
|
||||||
Nitro Address: {participant.nitroAddress} <br />
|
Nitro Address: {participant.nitroAddress} <br />
|
||||||
|
Role: {participant.role} <br />
|
||||||
|
KYC ID: {participant.kycId} <br />
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
@ -35,7 +35,7 @@ const SignWithNitroKey = () => {
|
|||||||
|
|
||||||
const message = useMemo(() => {
|
const message = useMemo(() => {
|
||||||
return {
|
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,
|
address: ethAddress,
|
||||||
};
|
};
|
||||||
}, [ethAddress]);
|
}, [ethAddress]);
|
||||||
|
Loading…
Reference in New Issue
Block a user