Basic Usage
Quick Start - Widget
<!DOCTYPE html>
<html>
<head>
<title>DotPassport Widget</title>
</head>
<body>
<div id="widget"></div>
<script type="module">
import { createWidget } from '@dotpassport/sdk';
createWidget({
apiKey: 'your_api_key',
address: '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY',
type: 'reputation'
}).mount('#widget');
</script>
</body>
</html>Quick Start - API Client
Widget Types
Reputation Widget
Badge Widget
Profile Widget
Category Widget
API Methods
Get Scores
Get Badges
Get Profile
React Example
Vue Example
Error Handling
Themes
Related
Last updated
