Skip to main content

CoinSecretKey

For the complete documentation index, see llms.txt

@midnight-ntwrk/onchain-runtime v3.0.0


@midnight-ntwrk/onchain-runtime / CoinSecretKey

Class: CoinSecretKey

사용자의 코인 비밀 키를 보유하며, hex로 인코딩된 32바이트 문자열로 직렬화됩니다

Methods​

clear()​

clear(): void

코인 비밀 키를 지워서 더 이상 사용할 수 없고 메모리에도 남지 않도록 합니다

Returns​

void


yesIKnowTheSecurityImplicationsOfThis_serialize()​

yesIKnowTheSecurityImplicationsOfThis_serialize(): Uint8Array

Returns​

Uint8Array


deserialize()​

static deserialize(raw): CoinSecretKey

Parameters​

raw​

Uint8Array

Returns​

CoinSecretKey