docs: Ledger Live integration, contract deploy learnings, NEXT_STEPS updates
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands - CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround - CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check - NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere - MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates - LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Certbot dns-cloudflare: email + API key credentials
|
||||
# Copy to ~/.secrets/certbot/cloudflare.ini or /etc/cloudflare/credentials.ini
|
||||
# Use ONE method per file (this file OR cloudflare-credentials-token.example)
|
||||
# chmod 600 the file after copying
|
||||
|
||||
dns_cloudflare_email = your-email@example.com
|
||||
dns_cloudflare_api_key = your-cloudflare-global-api-key-here
|
||||
6
scripts/certbot/cloudflare-credentials-token.example
Normal file
6
scripts/certbot/cloudflare-credentials-token.example
Normal file
@@ -0,0 +1,6 @@
|
||||
# Certbot dns-cloudflare: token-only credentials
|
||||
# Copy to ~/.secrets/certbot/cloudflare.ini or /etc/cloudflare/credentials.ini
|
||||
# Use ONE method per file (this file OR cloudflare-credentials-email-api-key.example)
|
||||
# chmod 600 the file after copying
|
||||
|
||||
dns_cloudflare_api_token = your-cloudflare-api-token-here
|
||||
11
scripts/certbot/cloudns-credentials.example
Normal file
11
scripts/certbot/cloudns-credentials.example
Normal file
@@ -0,0 +1,11 @@
|
||||
# Certbot dns-cloudns: credentials for ClouDNS API
|
||||
# Copy to ~/.secrets/certbot/cloudns.ini or use output of print-cloudns-credentials-from-env.sh
|
||||
# Paste into NPMplus: Add TLS Certificate → DNS Challenge → ClouDNS → Credentials File Content
|
||||
# See: https://www.cloudns.net/api-settings/
|
||||
|
||||
dns_cloudns_auth_id=1234
|
||||
dns_cloudns_auth_password=your-cloudns-api-password
|
||||
|
||||
# Optional: use sub-account (one of the two below)
|
||||
# dns_cloudns_sub_auth_id=1234
|
||||
# dns_cloudns_sub_auth_user=foobar
|
||||
31
scripts/certbot/print-cloudflare-credentials-from-env.sh
Normal file
31
scripts/certbot/print-cloudflare-credentials-from-env.sh
Normal file
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env bash
|
||||
# Print Certbot dns-cloudflare "Credentials File Content" from project .env.
|
||||
# Run from repo root (or any dir with .env). Output is for pasting into
|
||||
# NPM/Certbot UI "Credentials File Content *" field.
|
||||
# Usage: ./scripts/certbot/print-cloudflare-credentials-from-env.sh
|
||||
|
||||
set -e
|
||||
REPO_ROOT="${REPO_ROOT:-$(cd -P "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)}"
|
||||
ENV_FILE="${ENV_FILE:-$REPO_ROOT/.env}"
|
||||
|
||||
if [ ! -f "$ENV_FILE" ]; then
|
||||
echo "Error: .env not found at $ENV_FILE" >&2
|
||||
echo "Create it from .env.example and set CLOUDFLARE_API_TOKEN or (CLOUDFLARE_EMAIL + CLOUDFLARE_API_KEY)." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
set +u
|
||||
# shellcheck source=/dev/null
|
||||
source "$ENV_FILE"
|
||||
set -u
|
||||
|
||||
if [ -n "${CLOUDFLARE_API_TOKEN:-}" ]; then
|
||||
echo "dns_cloudflare_api_token = $CLOUDFLARE_API_TOKEN"
|
||||
elif [ -n "${CLOUDFLARE_EMAIL:-}" ] && [ -n "${CLOUDFLARE_API_KEY:-}" ]; then
|
||||
echo "dns_cloudflare_email = $CLOUDFLARE_EMAIL"
|
||||
echo "dns_cloudflare_api_key = $CLOUDFLARE_API_KEY"
|
||||
else
|
||||
echo "Error: Set CLOUDFLARE_API_TOKEN or (CLOUDFLARE_EMAIL + CLOUDFLARE_API_KEY) in .env" >&2
|
||||
echo "See: docs/04-configuration/CLOUDFLARE_CREDENTIALS_BOTH_METHODS.md" >&2
|
||||
exit 1
|
||||
fi
|
||||
39
scripts/certbot/print-cloudns-credentials-from-env.sh
Executable file
39
scripts/certbot/print-cloudns-credentials-from-env.sh
Executable file
@@ -0,0 +1,39 @@
|
||||
#!/usr/bin/env bash
|
||||
# Print Certbot dns-cloudns "Credentials File Content" from project .env.
|
||||
# Run from repo root (or any dir with .env). Output is for pasting into
|
||||
# NPMplus: Add TLS Certificate → DNS Challenge → ClouDNS → "Credentials File Content *".
|
||||
# Usage: ./scripts/certbot/print-cloudns-credentials-from-env.sh
|
||||
|
||||
set -e
|
||||
REPO_ROOT="${REPO_ROOT:-$(cd -P "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)}"
|
||||
ENV_FILE="${ENV_FILE:-$REPO_ROOT/.env}"
|
||||
|
||||
if [ ! -f "$ENV_FILE" ]; then
|
||||
echo "Error: .env not found at $ENV_FILE" >&2
|
||||
echo "Create it from .env.example and set CLOUDNS_AUTH_ID and CLOUDNS_AUTH_PASSWORD." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
set +u
|
||||
# shellcheck source=/dev/null
|
||||
source "$ENV_FILE"
|
||||
set -u
|
||||
|
||||
if [ -z "${CLOUDNS_AUTH_ID:-}" ] || [ -z "${CLOUDNS_AUTH_PASSWORD:-}" ]; then
|
||||
echo "Error: Set CLOUDNS_AUTH_ID and CLOUDNS_AUTH_PASSWORD in .env" >&2
|
||||
echo "See: .env.example (ClouDNS section), https://www.cloudns.net/api-settings/" >&2
|
||||
echo "" >&2
|
||||
echo "If you prefer Cloudflare DNS challenge instead, use DNS Challenge → Cloudflare" >&2
|
||||
echo "and run: ./scripts/certbot/print-cloudflare-credentials-from-env.sh" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Use 'key = value' format (spaces) so NPM/Certbot parser reliably finds both properties
|
||||
echo "dns_cloudns_auth_id = $CLOUDNS_AUTH_ID"
|
||||
echo "dns_cloudns_auth_password = $CLOUDNS_AUTH_PASSWORD"
|
||||
|
||||
if [ -n "${CLOUDNS_SUB_AUTH_ID:-}" ]; then
|
||||
echo "dns_cloudns_sub_auth_id = $CLOUDNS_SUB_AUTH_ID"
|
||||
elif [ -n "${CLOUDNS_SUB_AUTH_USER:-}" ]; then
|
||||
echo "dns_cloudns_sub_auth_user = $CLOUDNS_SUB_AUTH_USER"
|
||||
fi
|
||||
Reference in New Issue
Block a user