본문으로 건너뛰기

계정 잠금

계정에서 전체 액세스 키를 모두 제거하면, 계정이 효과적으로 잠깁니다.

계정이 잠기면 아무도 계정 이름으로 트랜잭션을 수행할 수 없습니다(예: 코드 업데이트 또는 송금).

계정을 잠그는 방법

near keys <dev-account>
# result: [access_key: {"nonce": ..., "public_key": '<key>'}]

near delete-key <dev-account> '<key>'

계정을 잠그는 이유

계정을 잠그면 외부 행위자가 계정의 컨트랙트나 잔고를 조작할 수 없어지기 때문에, 최종 사용자가 더 안심할 수 있게끔 합니다.

Upgrading Locked Contracts

Please do note that, while no external actor can update the contract, the contract can still upgrade itself. 자세한 내용은 이 문서를 참조하세요.

Was this page helpful?