LogoLogo
  • Introduction
  • Network
    • SXP
    • Staking
    • Governance
    • API
  • Swap
    • Smart Contract
      • Implement a Swap
      • Providing Liquidity
      • Building an Oracle
      • Flash Swaps
      • Pair Addresses
      • Supporting meta transactions
    • Subgraph API
      • Exchange
        • Entities
        • Queries
      • MasterChef
        • Entities
        • Queries
    • Reference
      • Smart Contracts
  • Swipechain
    • Introduction
    • Swipe Nodes
      • Churn
      • Bitfrost
      • Transactions
      • Continuous Liquidity Pools
      • Incentivizes
      • Governance
    • Run SwipeChain
      • Build on Source Code
      • Build with Script
    • Developers
      • How to contribute
      • Connecting to SwipeNode
  • Staking
  • Staking Details
    • Swipe Network
    • SXP Bonding
    • Unbond SXP
  • Metamask
    • Add Swipe Token
    • Deposit SXP
    • Connect MetaMask
    • Stake SXP
  • Trust Wallet
    • Add Swipe Token
    • Deposit SXP
    • Connect Trust Wallet
    • Stake SXP
  • Ledger
    • Connect Ledger
    • Add Swipe Token
    • Deposit SXP
    • Connect to Swipe
    • Stake SXP
  • View your Rewards
  • Claim Your Rewards
  • Governance
    • Vote
    • Proposals
  • FAQ
    • Frequently Asked Questions
Powered by GitBook
On this page

Was this helpful?

  1. Swipechain

Developers

Developers community instructions for SwipeChain Development

Read Only Applications

Dashboards, explorers etc

  1. Connect to Midgard to get rich data about the system, included time-series graphs and aggregated values like TotalVolume etc.

  2. Connect to SwipeNode (or proxied via Midgard) to drill into the state-machine and access the current state (or historical just by adding a ?height=1234 to specify a certain height.

  3. Connect to RPC to get information about the Ledger, which is not specific to SwipeChain, such as /genesis or account/transaction information

Write Applications

Wallets, interfaces etc.

These applications require first-principle thinking and excellent understanding of how the system works.

  1. Connect to a trusted SwipeNode or connect to several public SwipeNodes and ensure they all agree

  2. Get the /inbound_addresses

  3. Compose the transaction with the correct memo and correct gas price.

  4. Send the vault the transaction and wait for execution

Connecting

First, you need to connect to SwipeChain. You can use the official clients which have SSL, or run your own node, host it on SSL.

If you don't need SSL, you can connect to any of the non-SSL public nodes (ie, just their IP address). Web applications need SSL, but mobile and desktop apps don't.

PreviousBuild with ScriptNextHow to contribute

Last updated 3 years ago

Was this helpful?