walletpress/wp-plugin/walletpress.php
cryptorugmunch e13bd4d774
Some checks are pending
CI / lint (push) Waiting to run
CI / test (push) Waiting to run
CI / security (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / license (push) Waiting to run
CI / ai-review (push) Waiting to run
docs: apply fleet-template (16-artifact scaffold)
Adds missing standard artifacts:
- README.md (if missing)
- AGENTS.md (AI agent contract)
- PLAN.md (current sprint)
- STATUS.md (where we are)
- DEVELOPMENT.md (dev workflow)
- DEPLOYMENT.md (deploy procedure)
- TESTING.md (test strategy)
- DECISIONS.md (ADR index + templates)
- .github/CODEOWNERS
- .github/workflows/ci.yml

Preserves all existing artifacts.

Refs: RugMunchMedia/fleet-template
2026-07-02 02:07:06 +07:00

38 lines
1.3 KiB
PHP

<?php
/**
* Plugin Name: WalletPress
* Plugin URI: https://walletpress.cc
* Description: Self-hosted wallet management platform. Generate, vault, analyze, distribute, and gate with crypto wallets across 55 chains. REST API + WP Admin + CLI.
* Version: 1.0.0-beta
* Author: Rug Munch Media LLC
* Author URI: https://rugmunch.io
* License: GPL v2 or later
* Text Domain: walletpress
* Domain Path: /languages
* Requires PHP: 8.1
* Requires WP: 6.0
*/
defined('ABSPATH') || exit;
define('WALLETPRESS_VERSION', '1.0.0-beta');
define('WALLETPRESS_FILE', __FILE__);
define('WALLETPRESS_DIR', plugin_dir_path(__FILE__));
define('WALLETPRESS_URL', plugin_dir_url(__FILE__));
require_once WALLETPRESS_DIR . 'includes/class-walletpress.php';
require_once WALLETPRESS_DIR . 'includes/class-walletpress-admin.php';
require_once WALLETPRESS_DIR . 'includes/class-walletpress-api.php';
require_once WALLETPRESS_DIR . 'includes/class-walletpress-auth.php';
require_once WALLETPRESS_DIR . 'includes/class-walletpress-gate.php';
require_once WALLETPRESS_DIR . 'includes/class-walletpress-payments.php';
function walletpress(): WalletPress {
static $instance = null;
if ($instance === null) {
$instance = new WalletPress();
}
return $instance;
}
walletpress()->init();