Add MoonPay card on-ramp (same underpinning as RM Circle)
Signed /api/moonpay-url endpoint: public key from MOONPAY_PUBLIC_KEY env or site config, SECRET from MOONPAY_SECRET_KEY env ONLY (never site config, since /api/config exposes siteConfig). Wallet-prefilled signed MoonPay URL when keys are set, else a generic buy page. "Buy POL with a card" button under the Buy packages tiles. Zero custody: MoonPay is merchant of record; crypto goes straight to the buyer's wallet. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -687,7 +687,7 @@
|
||||
</div>
|
||||
<script src="/assets/common.js?v=20260908c"></script>
|
||||
<script src="/assets/wallet.js?v=20260907q"></script>
|
||||
<script src="/assets/my.js?v=20260908e"></script>
|
||||
<script src="/assets/my.js?v=20260908f"></script>
|
||||
<script src="/assets/chat.js?v=20260907l"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user