Saros Super App
아래의 개발자 가이드를 통해 Saros Super App을 쉽게 통합할 수 있습니다.
Solana DApps Integration
Saros Wallet을 감지하는 가장 쉬운 방법:
if(window.saros){
console.log('Saros Extension is installed!');
}function getProvider() {
const provider = window.saros;
if (!provider) {
return window.open('');
}
return provider;
}Saros 확장 지갑 연결하기 (To connect Saros Extension Wallet)
Saros 확장 지갑 연결 해제하기 (To disconnect Saros Extension Wallet)
기능을 체험하기 (To experience functions)
현재 계정 가져오기 (Get Current Account)
지갑 존재 여부 확인하기 (Check wallet whether exists or not)
트랜잭션 서명 (Sign Transaction)
여러 트랜잭션 서명 및 전송 (Signing and Sending Multiple Transactions)
서명 검증 (Verify Signature)
이벤트 처리하기 (To handle events)
이벤트 목록 (List of events)
현재 지갑 확장에서 일부 동작 이벤트만 지원합니다.
Last updated