How to integrate RSK Finance dApps in your Wallet How-To-Do Guide Index 1. Introduction 2. RSK integration 3. Swaps/Dexes/Atomic Swaps 4. 5. 3.1. CoinSwitch API 3.2. Liquid API DeFi Protocols Integration 4.1. Money on Chain 4.2. RIF on Chain Technical Support How to integrate RSK Finance dApps in your Wallet How-To-Do Guide 1. Introduction If you are a wallet aiming to be fully integrated with RSK Dapps, this how-to-do guide is a must to understand and get deeper into this amazing technology. As you know, RSK is the first general purpose smart contract platform on top of the Bitcoin Network. Bitcoin and RSK ’s technology are conquering new heights. It is only natural that more and more bitcoiners worldwide are starting to put to work their bitcoins and other cryptocurrencies as a form of generating passive income and/or trading their balances. Here we explain to you how to integrate on RSK and third parties Finance dApps built on RSK network. 2. RSK integration Step 1: Install a node RSK nodes can be installed on all major platforms, including Linux, Windows, and Mac. Here a guide about how to Install a node. Step 2: Create a Wallet The RSK network is account-based and incorporates an optional blockchain identifier, also known as chain-id. About addresses Create a Wallet Step 3: Get R-BTC The Smart Bitcoin (R-BTC) is the token used to pay for the execution of transactions in RSK. Test R-BTC Buy R-BTC Step 4: Connect your app How to integrate RSK Finance dApps in your Wallet How-To-Do Guide Smart contracts for RSK are written using Solidity and are fully compatible with Ethereum Smart Contracts, so you can migrate your existing Ethereum Smart Contract to RSK Smart without making any changes. Port Ethereum dApps More Tutorials 3. Swaps/Dexes/Atomic Swaps Once solved the RSK Integration on your Wallet, you need to integrate a swap component aiming users to convert BTC into RBTC, and/or into any RSK Token. 3.1 Swaps of Bitcoin and RSK 3.1.1 CoinSwitch API Coinswitch API will allow wallet users to convert BTC into RBTC and/or DOC, or vice versa. Here the documentation: https://developer.coinswitch.co/ 3.1.2 Liquid API Liquid API will allow wallet users to convert BTC into RBTC and/or RIF, or vice versa. Here the documentation: https://docs.partners.liquid.com/ 3.2 Swaps of RSK tokens 3.2.1 TeX API TeX is the decentralized exchange of Money on Chain. This DeX will allow wallet users to swap between RBTC, DOC, BPRO, RDOC, RIFP, POC, DAR. Here the documentation: TBC 4. DeFi Protocols Integration 4.1 Money on Chain How to integrate RSK Finance dApps in your Wallet How-To-Do Guide Money on Chain Protocol is a suite of DeFi components, allowing bitcoiners to do more with their bitcoins on RSK. Money on Chain has 3 different finance tools: Dollar on Chain (DOC) is a token pegged to the USD Dollar. Characteristics: • The peg is guaranteed by the smart contract and DOCs are redeemable for smart bitcoins • Can be transferred freely • Can be stored in your hardware wallet • Every 30 days every single DOC can be redeemed against the smart contract (settlement date) • Outside the settlement date DOC can be exchanged in our decentralized exchange or be redeemed against the smart contract paying s redemption rate (it varies with market conditions, but will be typically less than 1%) Bitpro (BPRO), is a token that retains the Bitcoin’s volatility, suitable for risk-propense Bitcoin holders seeking a passive income in BTC. Characteristics: • It earns a passive income in smart bitcoins • It earns part of the MOC protocol fee • A minimum of 10% of MOC tokens will be distributed to BPRO holders • When the price of BTC goes up it will go up a little more, so it will beat BTC on the next bull run to the moon. • Can be stored in your hardware wallet • BitPro can be exchanged in TeX decentralized exchange or redeemed for smart bitcoins against the smart contract. BTCX is a leveraged decentralized long position on the price of Bitcoin (BTCX). Characteristics: • It is a LONG leveraged position on the price of Bitcoin. • If you did not understand the line above this token is not for you and you are probably going to lose your tokens if you buy it. • The X specifies the leverage of the token • Leverage can vary with the price of BTC but is fixed once you buy it. • Leverage is reseted to X every 30 days when the contract expires • Cost of leverage is fixed and paid when you buy the token but if you redeem your BTCX before the settlement date a proportional of the interest paid is returned to you • There is no margin call and you can be liquidated when the price of bitcoin goes down. • If you did not understand at least one line above this one, this token is not for you and you are probably going to lose your tokens. Here the documentation: https://github.com/money-on-chain/main-RBTC-contract/blob/master/integration-to-MOC-platfor m.md How to integrate RSK Finance dApps in your Wallet How-To-Do Guide 4.2 RIF on Chain RIF on Chain Protocol is a suite of DeFi components, allowing RIF holders to do more with their RIF tokens. RIF on Chain has 3 different finance tools: RIF Dollar(RDOC) is a token pegged to the USD Dollar. Characteristics: • The peg is guaranteed by the smart contract and DOCs are redeemable for RIF • Can be transferred freely • Can be stored in your hardware wallet • Every 30 days every single RDOC can be redeemed against the smart contract (settlement date) • Outside the settlement date RDOC can be exchanged in our decentralized exchange or be redeemed against the smart contract paying s redemption rate (it varies with market conditions, but will be typically less than 1%) RIF pro (RIFP), is a token that retains the Bitcoin’s volatility, suitable for risk-propense Bitcoin holders seeking a passive income in RIF. Characteristics: • It earns a passive income in smart bitcoins • It earns part of the MOC protocol fee • A minimum of 10% of MOC tokens will be distributed to RPRO holders • When the price of RIF goes up it will go up a little more, so it will beat RIF on the next bull run to the moon. • Can be stored in your hardware wallet • RIFPro can be exchanged in TeX decentralized exchange or redeemed for smart bitcoins against the smart contract. RIFX is a leveraged decentralized long position on the price of RIF (RIFX). Characteristics: • It is a LONG leveraged position on the price of RIF. • If you did not understand the line above this token is not for you and you are probably going to lose your tokens if you buy it. • The X specifies the leverage of the token • Leverage can vary with the price of RIF but is fixed once you buy it. • Leverage is reseted to X every 30 days when the contract expires • Cost of leverage is fixed and paid when you buy the token but if you redeem your RIFX before the settlement date a proportional of the interest paid is returned to you • There is no margin call and you can be liquidated when the price of bitcoin goes down. Here the documentation: https://github.com/money-on-chain/RDOC-Contract/blob/master/integration.md How to integrate RSK Finance dApps in your Wallet How-To-Do Guide 5. Technical Support RSK Integration Gitter Chat: https://gitter.im/rsksmart Email: openfinance@iovlabs.org CoinSwitch Integration api-support@coinswitch.co Liquid Integration support@liquid.com Money on Chain Integration & RIF on Chain Integration info@moneyonchain.com