🎯 REVMINE Widget Examples

Basic Integration

Simple widget with default settings. Perfect for getting started quickly.

RevmineWidget.init({
  apiKey: 'test_pk_basic',
  position: 'bottom-right'
});

Custom Theme

Dark theme with custom colors matching your brand identity.

RevmineWidget.init({
  apiKey: 'test_pk_themed',
  theme: 'dark',
  color: '#FF6B6B',
  position: 'bottom-left'
});

Gaming Integration

Gamified experience with achievements and leaderboards.

RevmineWidget.init({
  apiKey: 'test_pk_gaming',
  customTitle: 'Mine Game Coins',
  showLeaderboard: true,
  features: {
    mining: true,
    staking: true
  }
});

Content Monetization

Replace ads with mining. Users earn while reading content.

RevmineWidget.init({
  apiKey: 'test_pk_content',
  autoOpen: false,
  position: 'top-right',
  customTitle: 'Earn While Reading'
});

Educational Rewards

Reward students for course completion and engagement.

RevmineWidget.init({
  apiKey: 'test_pk_education',
  customTitle: 'Earn Study Tokens',
  showBalance: true,
  webhooks: {
    onMiningStart: () => {
      console.log('Student engaged!');
    }
  }
});

SaaS Integration

Seamlessly integrated into your SaaS dashboard.

RevmineWidget.init({
  apiKey: 'test_pk_saas',
  position: 'center',
  size: 'large',
  branding: {
    cobranded: true
  }
});

Live Widget Stats

0
Balance
Idle
Mining Status
0s
Session Time
0
Earned Today