Skip to main content

4 docs tagged with "midnight-js"

View all tags

Browser DApp

Lace wallet에 연결하고, Midnight indexer에서 리더보드 상태를 읽고, 프라이버시 모드로 점수를 온체인에 제출하는 React 프론트엔드를 만듭니다.

Private party tests

MidnightJS로 로컬 devnet에서 private party를 실행합니다: 비공개로 RSVP하고, NIGHT으로 체크인하고, 참가비를 청구하고, 컨트랙트를 단계별로 배포합니다.

Private tip jar tests

팁 항아리를 메모리에서, 그리고 MidnightJS로 로컬 devnet에서 실행합니다: 데모 토큰을 민팅하고, 익명으로 팁을 내고, public ledger에 누출이 없는지 확인하고, 인출합니다.

TypeScript integration

Midnight의 leaderboard DApp을 배포하고 상호작용하기 위해 TypeScript witness provider, 컨트랙트 export, 공용 API 클래스를 구성합니다.