Skip to content

Introduction

daniel dabek edited this page Dec 8, 2021 · 1 revision

About

Safex is an open source blockchain project that is creating a purely peer-to-peer marketplace with an embedded cryptocurrency. Main goals for this project are:

  • Decentralized marketplace with easy-to-use interface for placing products
  • Automatized process of buying items with no need for third party check
  • Decentralized seller rating to prevent fraud and to create competitiveness on the network

Codebase

Safex has forked Monero codebase in April 2018. (between Monero releases v0.12.0.0 and v0.12.1.0) on commit 8fdf645397654956b74d6ddcd79f94bfa7bf2c5f. After fork, the Safex Team has implemented numerous changes (for first release about 20k lines of source code changes/insertions) to set up the foundation for the Safex Blockchain.

Currency

Safex project contains two currencies inside the blockchain: Safex Cash and Safex Token. Both currencies can be stored in the same wallet on the same Safex address.

Safex Cash (SFX)

  • Proof-of-work mined
  • Total supply of 1 billion over 20 years using special curve. 3 per block after 1 billion
  • Used for paying transaction fees to miners
  • Used for purchases of products
  • Can be split up to 10 decimals

Safex Token (SFT)

  • Cannot be mined, total supply is fixed
  • 1.885.974.016 of tokens circulating in total
  • Used for creating accounts and collecting revenue
  • Cannot be split to decimals

Mining

  • Block time: approximately two minutes
  • Difficulty retarget: every block (based on the last 60 blocks (2h))
  • Block reward: according to Safex Bluepaper (link)
  • Block size: dynamic, double max size is the double value of the median for the last 100 blocks
  • Algorithm: RandomSFX, fork of RandomX algorithm

Networks

Safex offers three separate networks and blockchains: mainnet, stagenet and testnet. Every blockchain has its own genesis block and is entirely separate from others. Also, corresponding p2p networks are separate. Mainnet is the production network, the only blockchain where SFT and SFX units have value.

RPC documentation

Advanced functionalities

Blockchain logic and database

Manuals

Clone this wiki locally