Independent extension of Frankencoin mechanics

Connect a wallet without confusing connection and authority

The lazy DogeOS wallet island supplies an EVM provider; IMF still verifies every read and guided transaction.

Two SDKs, one explicit boundary
DogeOS SDK 4.0.4Wallet selection and EVM provider
IMF wallet engineAccount, chain and session checks
IMF V2 SDKVerified reads, calldata and receipts
Connecting a wallet does not approve a token, sign a message, authorize a currency write, or send a transaction.
The DogeOS island loads only after Connect or log in is chosen on app.imf.li. Website, documentation, dashboard reads and initial app rendering do not download it.

Register the application origins

Create the project in the DogeOS Developer Console and register the exact app origins used by the integration. The IMF production client configuration identifies https://app.imf.li/. Local review and the explicitly synthetic fixture keep their existing isolated wallet paths and do not reuse the production client configuration.

A DogeOS client ID is a public application identifier bundled for browsers, not a private key or server secret. It grants no contract authority by itself. WalletConnect requires a separate project ID and origin registration; IMF leaves WalletConnect disabled when that separate ID is not configured.

External wallets and social login

The IMF island pins @dogeos/dogeos-sdk@4.0.4 with React 18 and configures DogeOS Chikyū, chain ID 6281971, as the only EVM chain. It uses defaultConnectChain: 'evm', keeps external wallets available, and offers DogeOS-managed Google and X login. Social login connects DogeOS's embedded EVM wallet through the same guarded provider handoff. Email login and non-EVM connectors are not enabled.

const config = {
  clientId: publicProjectClientId,
  chains: { evm: [dogeOsChikyu] },
  defaultConnectChain: 'evm',
  login: {
    basicLogins: ['externalWallets'],
    socialLogins: [{ type: 'google' }, { type: 'x' }]
  },
  metadata: { name, description, url, icons }
}

DogeOS manages social authentication. IMF does not receive the user's social password or create an authenticated backend session from this connection.

IMF does not call signMessage, signInWithWallet, authentication-token APIs or Dogecoin message signing. A wallet connection is not an authenticated application session. Do not treat SDK connection state as proof of server-side identity.

The EIP-1193 handoff

After the user connects, the island obtains connectors.evm.provider and registers it with the existing IMF wallet engine. The engine normalizes the account and chain, listens for changes, invalidates unsent preparations after provider/account/chain changes, and rejects stale asynchronous work. Direct MetaMask remains available as a separate fallback.

Switching providers clears unsent preparations. Disconnecting clears the external provider and local session state; wallet-side permissions may still need to be revoked in the wallet itself. No provider is accepted for the synthetic mock-only policy, which continues to use its isolated test wallet.

Verification still comes from IMF

The DogeOS SDK does not replace IMF registry identity, bytecode or contract-link checks. All 12 runtime-config currencies require independent verification before public reads. Guided writes remain restricted to the verified runtime-config USD system. Imported registries and custom RPC connections remain read-only.

  1. Read and verify the selected V2 registry and current contract state.
  2. Construct exact decimal-aware calldata with the IMF SDK and check any required exact approval separately.
  3. Run a fresh static call and gas estimate against current state.
  4. Present the exact operation, destination, calldata and expected effects for explicit review.
  5. Only the final separate wallet confirmation can submit. Journal the hash and reconcile the receipt without automatic resubmission or follow-up writes.

Loading, failures and troubleshooting

React and the DogeOS SDK are bundled separately from the core protocol bundle and load on demand. If the wallet island cannot load, the interface reports the failure and leaves direct MetaMask available. A wallet being unavailable is not the same as a failed contract read, and neither condition becomes a zero balance.

The public release checker monitors browser JSON-RPC and requires transactionSent: false. Real MyDoge/MetaMask confirmation remains an explicit user-wallet action and a separate manual review, not an automated deployment step. Continue with registry architecture or human and agent boundaries.