The RIF (Rootstock Infrastructure Framework) token is a powerful tool designed to streamline development on the Bitcoin network. By leveraging Rootstock's smart contract capabilities, RIF introduces governance, staking rewards, and enhanced functionality to Bitcoin ecosystems.
Key Features of RIF Token
- Governance: Stake RIF to mint stRIF, the governance token for the RootstockCollective DAO, enabling voting rights and proposal creation.
- Interoperability: Built on ERC677 standards for seamless token transfers between contracts/wallets.
- Utility: Used across Rootstock’s testnet/mainnet environments for developer incentives and DAO participation.
RIF Token Types
1. RIF (Mainnet Token)
- Purpose: Primary token for transactions, staking, and governance.
- Acquisition: Available on crypto exchanges.
2. tRIF (Testnet Token)
- Purpose: Used for testing applications without real-value risk.
- Acquisition: Obtain via RIFOS Testnet Faucet.
3. stRIF (Staked RIF)
- Governance: 1:1 pegged to RIF, used for DAO voting.
Staking Process:
- Purchase RIF from supported exchanges.
- Stake via RootstockCollective dApp.
- Receive stRIF for governance participation.
Contract Details
| Property | Value |
|------------------------|-----------------------------------------------------------------------------------------------------------------|
| Token Standard | ERC20, ERC677, ERC1967Proxy |
| Mainnet Address | 0x5db91e24BD32059584bbDb831A901f1199f3d459 |
| Testnet Address | 0xe7039717c51c44652fb47be1794884a82634f08f |
Technical Insights
ERC677 Token Standard
- Advantage: Combines ERC20’s
transferwith contract notifications viatokenFallback, reducing transaction steps. - Use Case: Ideal for dApps requiring direct token-to-contract interactions.
RIF Transfer Methods
Approve & Transfer (ERC20 Standard):
function approve(address _spender, uint256 _value) public returns (bool) function transfer(address _to, uint256 _value) public returns (bool)Transfer & Call (ERC677 Enhanced):
function transfer(address _to, uint256 _value, bytes data)Parameters:
_to: Target contract address._value: RIF amount.data: Function signature + encoded parameters.
👉 Discover how RIF bridges Bitcoin and DeFi
FAQ
Q1: How does stRIF differ from RIF?
A1: stRIF is a governance token issued 1:1 when RIF is staked in the DAO, granting voting rights.
Q2: Can I unstake stRIF?
A2: Yes—unstaking returns RIF tokens, burning the equivalent stRIF.
Q3: Which wallets support RIF?
A3: See Rootstock’s official wallet list.