KomodoPlatform / komodo-defi-framework

This is the official Komodo DeFi Framework repository
https://komodoplatform.com/en/docs/komodo-defi-framework/
104 stars 94 forks source link

[Protocol Integration]: Solana #1085

Open Milerius opened 3 years ago

Milerius commented 3 years ago

I'm currently implementing Solana

Done:

Open discussion:

{
  "coin": "SOL",
  "name": "solana",
  "protocol": {
    "type": "SOL",
    "tokens": {
      "USDC": {
        "decimals": 6,
        "address": "CpMah17kQEL2wqyMKt3mZBdTnZbkbfx4nqmQMFDP5vwp"
      }
    }
  },
  "rpcport": 80,
  "mm2": 1
}

Problems:

     /// The highest slot of the heaviest fork processed by the node. Ledger state at this slot is
    /// not derived from a confirmed or finalized block, but if multiple forks are present, is from
    /// the fork the validator believes is most likely to finalize.
    Processed,

    /// The highest slot that has been voted on by supermajority of the cluster, ie. is confirmed.
    /// Confirmation incorporates votes from gossip and replay. It does not count votes on
    /// descendants of a block, only direct votes on that block, and upholds "optimistic
    /// confirmation" guarantees in release 1.3 and onwards.
    Confirmed,

    /// The highest slot having reached max vote lockout, as recognized by a supermajority of the
    /// cluster.
    Finalized,

example of a transaction

smk762 commented 2 years ago

Related desktop PR: https://github.com/KomodoPlatform/atomicDEX-Desktop/pull/1679

artemii235 commented 2 years ago
shamardy commented 1 month ago

Removing solana implementation from KDF for now as it hinders our ability to update other KDF dependencies, the old ref. implementation is here https://github.com/KomodoPlatform/komodo-defi-framework/tree/solana-ref-impl