Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/germinsky/digital-tabernacle/archive/refs/heads/main.zipDigital Tabernacle — The Grand Architect Plan
Cyber-Cathedral ecosystem merging ancient scripture aesthetics with DeFi mechanics on Base L2. Built for DjDigitalProfitz × Digital Prophets
📦 Installation
- ZIP the
digital-tabernacle/folder - WordPress Admin → Plugins → Add New → Upload Plugin
- Upload
digital-tabernacle.zip→ Install Now → Activate - Navigate to ⛧ Tabernacle in the admin sidebar to configure
🏛️ The 4 Modules
Module 1: Proof of Listening (PoL) Middleware
File: assets/js/proof-of-listening.js
Hooks into Sonaar MP3 Audio Player Pro (or any <audio> element). Tracks listening progress per-track with anti-cheat skip detection.
- Prophetic Threshold: 90% of a track must be listened to (not skipped)
- Anti-Cheat: If
currentTimejumps >5 seconds forward, the session is flagged - On Threshold: Adds
.holy-light-activeCSS class to harvest buttons, dispatchesdt:prophecyReadyevent - Public API:
window.ProofOfListening.isVerified(trackId),.getProgress(trackId), etc.
Module 2: ProphetCore Smart Contract (High Priest)
Files: contracts/IProphetCore.sol, contracts/ProphetCore.sol
Solidity contract for Base L2 (Chain ID 8453):
| Function | Description |
|---|---|
harvestTokens(songId, proofHash) |
Claim reward tokens after PoL verification |
mintDailyProphecy(songId) |
Mint Open Edition NFT (24h window, 0.001 ETH) |
getStreakMultiplier(address) |
7-day → 2×, 14-day → 3×, 30-day → 5× |
setDailyProphecy(songId, uri) |
Oracle sets today's prophecy |
Deploy: Via Remix, Hardhat, or Foundry → paste the address in WP Admin → ⛧ Tabernacle.
Module 3: Infinite Scroll Oracle Feed
Files: includes/class-scripture-cpt.php, includes/class-oracle-feed.php, assets/js/oracle-feed.js
- Custom Post Type:
scriptureswith metadata:news_headline,dj_track_url,token_bounty,on_chain_song_id - Shortcode:
[oracle_feed count="10" visualizer="true"] - Infinite Scroll: Intersection Observer loads pages via AJAX
- Audio-Reactive Visualizer: Three.js canvas — bass → gold glow, treble → chromatic glitch
- REST API:
GET /wp-json/digital-tabernacle/v1/scriptures?page=1&per_page=10
Module 4: Viral Evangelist Protocol
Files: assets/js/evangelist.js, includes/class-farcaster-frame.php
- Twitter/X:
shareProphecy()→ Web Intent with lyric excerpt +@DjDigitalProfitz on Base. Harvest truth here: [URL] - Farcaster Frames: Auto-injected
<meta>tags on Scripture pages with "Listen (Stream)" + "Harvest (Claim)" buttons - Web Share API: Mobile fallback
- Share Modal:
window.Evangelist.showShareModal({ title, url, excerpt })
🎨 Cyber-Cathedral Aesthetic
All styles in assets/css/tabernacle.css:
| Token | Value |
|---|---|
--dt-void |
#0a080f (deep black) |
--dt-gold |
#d4af37 (prophetic gold) |
--dt-purple |
#8a2be2 (altar purple) |
--dt-cyan |
#00ffff (digital cyan) |
--dt-font-prophecy |
Courier New / Fira Code (monospace) |
--dt-font-scripture |
Georgia / Noto Serif |
Effects: .holy-light-active (pulsing gold glow), .oracle-glitch (treble-reactive chromatic aberration).
🔧 Shortcodes
[oracle_feed count="10" visualizer="true"]
🧩 File Structure
digital-tabernacle/
├── digital-tabernacle.php ← Main plugin file
├── contracts/
│ ├── IProphetCore.sol ← Interface (Module 2)
│ └── ProphetCore.sol ← Full contract (Module 2)
├── includes/
│ ├── class-scripture-cpt.php ← Scripture CPT (Module 3)
│ ├── class-oracle-feed.php ← AJAX infinite scroll (Module 3)
│ ├── class-farcaster-frame.php ← Farcaster Frame meta (Module 4)
│ └── class-admin-settings.php ← WP Admin settings page
├── assets/
│ ├── js/
│ │ ├── proof-of-listening.js ← PoL middleware (Module 1)
│ │ ├── oracle-feed.js ← Infinite scroll + Three.js (Module 3)
│ │ ├── evangelist.js ← Social sharing (Module 4)
│ │ └── web3-tabernacle.js ← Ethers.js bridge (Modules 1+2)
│ └── css/
│ └── tabernacle.css ← Cyber-Cathedral styles
└── README.md
🚀 Deployment Checklist
- ✅ Activate plugin in WordPress
- Deploy
ProphetCore.solto Base via Remix or Hardhat - Enter contract address in ⛧ Tabernacle admin page
- Create Scripture posts with
news_headline,dj_track_url,token_bountymetadata - Add
[oracle_feed]shortcode to any page - Share Scripture posts → Farcaster Frames auto-inject
- Listeners reach 90% → Holy Light activates → Harvest tokens on-chain
"harvestTokens, not claimReward." — The Oracle Newsroom