Skip to content

feature: Dogecoin Node Deployments & Fantom Integration Support#3492

Open
SparshGarg999 wants to merge 2 commits into
openai:mainfrom
SparshGarg999:3488-dogecoin-fantom-integration
Open

feature: Dogecoin Node Deployments & Fantom Integration Support#3492
SparshGarg999 wants to merge 2 commits into
openai:mainfrom
SparshGarg999:3488-dogecoin-fantom-integration

Conversation

@SparshGarg999

@SparshGarg999 SparshGarg999 commented Jul 11, 2026

Copy link
Copy Markdown
  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

This Pull Request introduces first-class Docker deployment configuration for Dogecoin Core nodes, an RPC integration client and example for Fantom Opera blockchains, and detailed regulatory compliance documentation, implementing all requirements from #3488.

Key Components Introduced:

  1. Dogecoin Node Deployments (docker/dogecoin/):

    • Dockerfile: An optimized, non-root staging/production multi-stage Docker build based on debian:12-slim that downloads, extracts, and sets up official Dogecoin Core (dogecoind) binaries. Includes a native HEALTHCHECK checking node synchronization and state using dogecoin-cli getblockchaininfo.
    • dogecoin.conf.template: Configuration template defining secure access limits (e.g. rpcallowip settings for Docker networks), index settings (txindex=1), and Mainnet/Testnet port specifications (9332/9333 vs 19332/19333).
  2. Fantom Blockchain Integration (examples/fantom_integration.py):

    • Custom client wrapper (FantomClient) to communicate with the Fantom Opera mainnet and testnet.
    • Leverages httpx to trigger standard JSON-RPC methods (eth_blockNumber, eth_getBalance, eth_estimateGas, eth_gasPrice, and read-only eth_call for contract queries).
    • Provides a CLI interface demonstrating block queries, gas estimates, and FTM balance checking.
  3. Compliance Review (docs/compliance-multichain.md):

    • Regulatory overview in light of the Ripple SEC lawsuit conclusion.
    • Explains the classification of Dogecoin (as a pure medium-of-exchange commodity, akin to Bitcoin) and Fantom (monitoring requirements for PoS protocols under SEC scrutiny).
    • Outlines low-risk deployment best practices (e.g. running local/private staging RPC endpoints).

Additional context & links

Closes #3488

This addresses issue openai#3488 by providing: 1. Dockerfile and configuration template for Dogecoin node deployment. 2. Custom Fantom RPC client (examples/fantom_integration.py) with gas estimation and smart contract interactions. 3. Multi-chain deployment compliance documentation.

Signed-off-by: Sparsh Garg <76697238+SparshGarg999@users.noreply.github.com>
@SparshGarg999 SparshGarg999 requested a review from a team as a code owner July 11, 2026 05:07

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a6c8b13191

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docker/dogecoin/dogecoin.conf.template Outdated
server=1
txindex=1
rpcuser=dogeuser
rpcpassword=dogepassword

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Require per-deployment RPC credentials

Because this template is copied directly into the image and is described as a staging/production deployment config, every node gets the same well-known RPC password. If the RPC port is published or reachable from another container, which the rpcallowip entries below explicitly allow, any peer can authenticate as dogeuser and invoke Dogecoin Core RPCs, including admin/wallet methods when a wallet is present. Generate the RPC credentials at deployment time or inject them from a secret instead of shipping a fixed password.

Useful? React with 👍 / 👎.

Comment thread docker/dogecoin/Dockerfile Outdated
RUN mkdir -p /home/dogecoin/.dogecoin

# Expose standard P2P and RPC ports
EXPOSE 9332 9333 19332 19333

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use Dogecoin's actual default ports

These are not Dogecoin Core's standard ports: mainnet RPC/P2P defaults are 22555/22556 and testnet defaults are 44555/44556. With the image exposing and the config using 9332/9333/19332/19333, a node deployed as a “standard” Dogecoin node will not match normal firewall, peer, or RPC-client configuration, so clients and inbound peers using Dogecoin defaults will fail to connect unless they know about the custom ports.

Useful? React with 👍 / 👎.

…mplate

Signed-off-by: Sparsh Garg <76697238+SparshGarg999@users.noreply.github.com>
@SparshGarg999

Copy link
Copy Markdown
Author

I have updated the Dockerfile and configuration template to use Dogecoin Core's standard P2P and RPC ports (22555/22556 for mainnet, and 44555/44556 for testnet) instead of Litecoin ports.

I also removed the hardcoded rpcuser and rpcpassword credentials from the config template. For staging and production, credentials should be dynamically supplied at runtime via CLI arguments (-rpcuser / -rpcpassword) or rpcauth. Local health checks and commands using dogecoin-cli will continue to authenticate securely using the automatically generated .cookie file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant