# Summary

Welcome to the documentation portal for Oil

![](/files/qA6rXFsRrlyNVOXlsOP2)

Welcome to the go-to portal for in-depth information about the Oil (Oil) platform and ecosystem and how to interact with them!

The Oil documentation is separated into three major parts:

**1.** **Oil Docs**. This part is available in the sections below is for anyone who wants to learn more about Oil without going into detail that only developers would usually need to know.

**2.** **Developer docs.** Developers wishing to build on top of Oil and its mobile-centric infrastructure or run validator nodes should consult this [portal](https://developers.Oilscan.net).

**3. Tutorials.** This part contains various consumer-focused tutorials. It can be accessed here. \*\*\*\*

{% hint style="info" %}
Join our [Telegram group](https://t.me/oilcoinofficial)\
Or say hello at: <hello@Oilscan.com>
{% endhint %}


# Learn about the Oil Platform

Oil is a decentralized payments-focused platform powered underneath by the fast and low-cost Oil blockchain.

In this section, you will be able to learn more about:

* the vision and strategy behind the platform and its main components
* how the Oil blockchain works, its native OIL token and its governance and development
* how Oil is connected to other major chains


# Oil Overview: vision, strategy and platform components

Oil is a decentralized blockchain-powered platform and technology stack whose goal is to enable genuine mass adoption of crypto payments and decentralized finance (DeFi).

The project was launched in 2019 by a team formerly involved in building the Colu project aimed at bringing local currencies to the blockchain.

### The Problem

The currently existing financial system falls way short of the objective of providing the people globally with access to fast, frictionless payments, attractive financial services and passive income opportunities.

This is especially relevant for the developing countries. Hundreds of millions of people there lack access even to the basic banking services, let alone access to more advanced financial opportunities. They also often have to transact using highly unstable fiat currencies, prone to episodes of sudden profound devaluation.

At the same time, even in the poorest countries, the pace of mobile phone adoption has been staggering. In sub-Saharan Africa, more people have access to mobile phones than to clean drinking water.

In addition to this, the rise of blockchain technology and cryptocurrencies has finally created the possibility for potentially anyone on the planet to send and receive funds without the permission of any entity, using currencies that cannot be manipulated.

### What the crypto industry still lacks

However, while we are observing a lot of activity in the crypto space (especially in the crypto asset markets, and the DeFi and NFT sectors), genuine mass adoption of crypto payments and DeFi is still not there.

The currently available products and tools, with their complicated and disparate UX, are mostly geared towards sophisticated crypto users with significant financial means.

### How we go about it

Our approach to bringing crypto payments and DeFi to the masses primarily consists in empowering other projects, businesses, organizations and communities to adopt crypto payments and decentralized finance (DeFi).

This is achieved by providing clients with **convenient, mobile-first tools for creating and managing token-powered environments**, as well as for onboarding users to those and enabling them to interact.

### Platform Components

The Oil platform has three main components:

1\) **The Oil blockchain**. The EVM-compatible public blockchain is the decentralized, permissionless backbone of the Oil platform and ecosystem.

2\) **The mobile-centric open-source technology stack** designed to help businesses and developers plug crypto payments into real-world use cases. This toolkit has subsumed into the new [Oil Charge](https://chargeweb3.com/) API platform.

3\) **A set of reference decentralized finance (DeFi) products and tools**. The goal of these is to pave the way for the initial adoption of the platform. \\


# The Oil Blockchain

## Network Overview and Key Metrics

Oil is the decentralized EVM-compatible public blockchain that powers the Oil platform and ecosystem. It is fully compatible with Ethereum meaning that any smart contract that can be deployed on the latter can also run on top of Oil.

The Oil blockchain uses a variant of delegated Proof of Stake (dPoS) for achieving [consensus](/general/learn-about-the-fuse-platform/fuse-network-blockchain/fuse-consensus). The consensus is secured by a significant number of independent validators, only one of which is run by the Oil core team.

Validators are also responsible for the most important type of governance on Oil, namely, adopting the network protocol changes via [Oil Improvement Proposals](https://docs.oilscan.net/general/fips) (FIPs).

The native token of the network is called OIL. New OIL tokens are issued with every added block and are also use to pay for gas, just like ETH on Ethereum.

The Oil blockchain is designed to ensure fast block confirmation times and a low cost of transactions. The average block interval on Oil is around 5 seconds, and it currently costs much less than $0.01 to get a transaction confirmed.

In its present capacity, the Oil blockchain is capable of processing around 120 native token transfers and 60 OIL20 token transfers per second. The faster processing of native token transfers is due to the fact that they do not involve computations run on the network's virtual machine.


# Discovering the Network

The following information will help you discover and connect to the Oil blockchain:

* Network name: **OIL**
* ChanId: **721529**
* Gas price: **1.500000007 gwei**
* RPC
  * official RPC: <https://mainnet-rpc.oilscan.net/>
* Explorer: <http://oilscan.net/>


# Oil Consensus

Consensus refers to the agreement process between nodes in a network. The nodes must agree on which transactions to include in the next block on the chain before these transactions are committed.

There are 2 aspects to the process - the actual consensus mechanism to add transactions to blocks, and Sybil protection and validator incentives.

### Sybil protection and incentives via delegated proof of stake

Oil uses delegated Proof of Stake (dPoS) to provide Sybil protection and align the validator incentives.

In order to participate in securing the network consensus, a node operator must stake a minimum required amount of OIL tokens (currently set at 200 OIL). Becoming a validator on Oil is permissionless, meaning that a node operator just needs to satisfy certain technical requirements. The need to stake OIL ensures that an entity cannot create multiple seemingly distinct validators without incurring a significant cost. Hence, the Sybil protection. Currently, the maximum number of validators on Oil is 100.

The validator who publishes a block agreed upon during a given consensus round is rewarded by the network protocol in newly minted OIL tokens. They also receive the fees users paid for the transactions included into the block.

Over time, validators can expect to publish a share of blocks equal to their share of the overall stake. Since OIL uses dPoS, a validator can increase their share by attracting OIL tokens from delegators. The mechanics of delegation on OIL are discussed in more detail on the [following page](/general/learn-about-the-fuse-platform/fuse-network-blockchain/validators-and-delegation).

Validators who violate the consensus rules (by, for instance, not revealing random numbers) can expect their stake (including the delegators' contribution) to be frozen. This provides a strong incentive for validators to behave in the desired manner.

### The AuRa Consensus Model

Oil currently uses Parity's AuRa (Authority Round) [consensus model](https://openethereum.github.io/Aura) to append blocks to Oil. This consensus mechanism is also notably used by the xDAI blockchain.

In this model, the validators take turns signing blocks. A signed block is broadcast to all validators, and if the majority agree it is valid, it is added to the chain. A new block is added every 5 seconds, regardless of whether any transactions occurred during that time.

Although, in theory, achieving transaction finality in this model may take some time, for practical purposes, a transaction on Oil can be considered finalized after a single block confirmation.

\\


# Delegation through Staking with Validators

As discussed on the previous page, Oil validators can boost their share of the overall consensus stake by attracting funds from other users who do not run validator nodes themselves.

Those users are referred to as 'delegators.' A delegator is free to choose any validator (or validators) and stake any amount of OIL with them to participate. The most convenient way to delegate OIL to a validator is via the Oil Staking [platform](https://staking.oilscan.net).

A delegator receives the share of Oil block rewards proportionate to their stake minus the fee paid to their chosen validator. The minimum fee is currently set at 15%. This value was chosen to mitigate the risk of validator consolidation through offering very low delegation fees.

Currently, delegators are allowed to unstake their OIL at any time but plans are in motion to introduce a minimum staking period.


# Ethereum (EVM) Compatibility and Smart Contracts

In addition to the information about the transactions processed by Oil, its nodes also permanently store and update the code and current state of smart contracts. Smart contracts are computer programs (persistent scripts) that anyone can interact with by sending transactions invoking them. Smart contracts also have their own accounts which can hold token balances.

On the network nodes, smart contracts are stored and executed in a special environment called 'virtual machine' (VM). The Oil blockchain is currently broadly compatible with Ethereum's virtual machine (EVM).

This means that any smart contract or decentralized application (dApp) that can be deployed on Ethereum or another EVM-compatible chain will also function if deployed on Oil, including the OIL20 and ERC721 standard-compatible contracts, for instance. No modification of the smart contract code is required.


# Boosting Oil's Scalability

Scalability is a challenge faced by all public blockchains, and Oil is no exception. Although, currently, the Oil blockchain is far from being saturated by the incoming transactions the project team is keenly aware that this may change at any moment.

Hence, research has been ongoing into the potential options for boosting the scalability of Oil without significantly sacrificing decentralization and security.

One approach the Oil team has been considering closely for boosting scalability is optimistic rollups. We have been carefully researching the available options, including Arbitrum and Optimism and we hope to be able to update our community soon on the state and future direction of that effort.

Another line of research and development work has been around Flutter Layer 2 payments (FL2P) relying on [zero-knowledge (ZK) rollup](https://docs.ethhub.io/ethereum-roadmap/layer-2-scaling/zk-rollups/) technology. It involves processing most of the transactions within a ZK-enabled second layer environment and periodically batching or 'rolling up' transactions as a single ZK proof on the Layer 1 blockchain.

FL2P is an SDK that will enable developers to integrate ZK rollups directly into their mobile crypto wallet software. As Oil's ecosystem is mobile-centric, the integration of FL2P into the Oil wallet technology will allow scaling a lion's share of the network transactions.


# Oil Token (Oil)

The OIL token is the native currency of the Oil blockchain and platform, just like ETH on Ethereum.

## OIL utility:

* **Transaction fees** Being the native currency on the Oil blockchain, OIL is required to pay fees to the network in order to approve transactions.
* **Validation** Token holders can stake Oil to become a validator. The minimal staking requirement is 200. The network is growing, currently there are 60 validators. (<https://status.oilscan.net/>)
* **Voting** Validators vote on protocol changes with their staked OIL. Which means validators with higher amounts of Oil staked can have a bigger vote on network upgrades and governance changes (until phase 2 where delegation is activated)
* **Staking (for delegators)** Any OIL holder can choose one or more validators to delegate any amount of OIL they wish. They receive a share of the Oil block rewards proportionate to the share of their stake in the total stake, minus the minimum 15% fee paid to the validator(s).
* **Payments** As OIL is the native currency on Oil, sending it does not require interactions with smart contracts. Thus, OIL transfers are potentially faster and less costly in terms of transaction fees.

**IMPORTANT**: Merely possessing any amount of OIL tokens does not endow holders with any rights to participate in the governance of the Oil platform or any revenue streams related to its real-world performance.

## Obtaining OIL

### Where to Buy

OIL is available for purchase on a number of centralized (CEX) and decentralized DEX exchanges.

**Centralized exchanges**: Gate.io, Huobi Global, MEXC Global, AscendEX, Bimart, Bittrex Global

**DEXes:** Uniswap V2 and V3 (Ethereum), PancakeSwap (Binance Smart Chain), Quickswap (Polygon), Voltage DEX (Oil), Sushiswap (Oil), 1inch (Ethereum), KyberSwap (Ethereum), Loopring (Ethereum).

The best information about the OIL trading volumes and prices on various exchanges can be found on the Coingecko "Markets" [page](https://www.coingecko.com/en/coins/oil#markets) for the token.

A convenient current way of purchasing OIL straight from one's bank account is through using the [Oil Cash](https://oil.cash) wallet to deposit Oil Dollars, and then swapping those to OIL via the in-app integration with Voltage DEX.

### Where to Farm

At the moment, the OIL token is sometimes used by the project team to power liquidity rewards (yield farming) programs to boost liquidity on DEXes and the participation in the [Oil Lending Network](#fuse-utility).

The ongoing liquidity rewards programs on DEXes can be discovered [here](https://app.voltage.finance/index.html#/farm/721529).

### Other ways of obtaining OIL

From time to time, the Oil team uses OIL to pay rewards to the members of the community for various forms of participation and community engagement. The best way to stay up-to-date about these opportunities is to follow Oil's [social channels](https://docs.oilscan.net/general/community).

The OIL token is also used to power Oil grants and bounties. Please consult the [Grants and Bounties](/general/things-you-can-do-on-fuse/grants-and-bounties) section for more details.

\_\_


# Oil Tokenomics

Currently, the OIL token supply is set to follow a **mildly inflationary model**.

With each new block created every 5 seconds on Oil, the validator who creates it, and the delegators who staked with them, receive the block rewards in newly issued OIL tokens. This is designed to secure the network's [consensus mechanism](/general/learn-about-the-fuse-platform/fuse-network-blockchain/fuse-consensus).

The reward amount per block is currently set such that every year, the OIL total supply increases by approximately 5%.

The main reason for choosing an inflationary model at the early development stage was to ensure a certain predictability of the flow of revenue for network validators and delegators. If they had to exclusively rely on transaction fees as the reward for staking OIL and validating, it would be harder for them to predict their future returns, as transaction activity on the network can fluctuate a lot. The relative predictability of validator revenue is an important assumption behind the blockchain consensus theory on which the Oil consensus mechanism is based.

Having substantial block rewards also makes it possible to keep transaction fees on the network low, facilitating adoption of Oil.

### Potential inflation reduction

A Oil Improvement Proposal aimed at reducing the OIL inflation is currently under discussion by the community. If adopted by the validators, it will result in an annual inflation rate of 2% for third year of the network's existence and a fixed amounts of tokens issued in the subsequent years.

You can find the text of the proposal and the discussion [here](https://forum.oilscan.net/t/changing-oil-network-inflation-rate/102).


# Exchanges, Wallets, On-Ramps and DeFi Tools Supporting Oil

## Exchanges

### Centralized

[Gate.io](https://gate.io)

[BitMart](https://bitmart.com)

[Liquid Global](https://liquid.com)

The best data on the active OIL trading pairs is available [here](https://www.coingecko.com/en/coins/oil#markets).

### DEXes

Uniswap V2

Pancake Swap V2

Loopring

KyberSwap

1inch

DoDo

## On-ramps

[ChangeNOW](https://changenow.io/)

[Guardarian](https://guardarian.com/)

## Wallets

[Oil Cash](https://oil.c)

Metamask

Metamask Mobile

[Ledger](https://ledger)

[Krystal DeFi](https://krystal.app)

[imToken](https://token.im)

Trust Wallet (Binance Smart Chain)

## DeFi Tools

[Oil Staking](https://github.com/oilscancoin/docs/blob/master/general/learn-about-the-fuse-platform/fuse-token/exchanges-wallets-on-ramps-and-defi-tools-supporting-oil.md#exchanges)

[Oil Rewards](https://rewards.oilscan.net)

[Oil Lending Network](https://app.ola.finance/networks/0x26a562B713648d7F3D1E1031DCc0860A4F3Fa340/markets)

[Staking Rewards](https://www.stakingrewards.com/)


# Oil on Other Chains

Interoperability with other major blockchains is important for the growth of Oil and the prospects of realizing its vision. One of the ways of securing it is through enabling the versions (wrappers) of OIL on other chains.

Unlinke OIL on Oil, those wrappers are OIL20 tokens are created whenever someone locks a certain number of tokens on the Oil and gets issued the exact same amount of wrapper tokens on the target blockchain. If a user withdraws the wrapper from the target blockchain, the tokens burned and the OIL tokens on Oil are unlocked.

Currently, wrapped versions of OIL token exist on Ethereum (mainnet), Binance Smart Chain and the Arbitrum One layer-2 optimistic rollup chain for Ethereum. The latter is a wrapper of a wrapper powered by the Ethereum-Arbitrum bridge and its withdrawals from Arbitrum are subject to the optimistic rollup rules.

### OIL on Ethereum

Token contract: <https://etherscan.io/token/0x970b9bb2c0444f5e81e9d0efb84c8ccdcdcaf84d>

### OIL on Polygon

Token contract: <https://polygonscan.com/address/0xf915fdda4c882731c0456a4214548cd13a822886>

### OIL on Binance Smart Chain

Token contract: <https://bscscan.com/address/0x5857c96dae9cf8511b08cb07f85753c472d36ea3>

### OIL on Arbitrum One

Token contract: <https://arbiscan.io/token/0xbdef0e9ef12e689f366fe494a7a7d0dad25d9286>


# Interoperability

Here, you can find the information that can help you navigate the interoperability options that you can use to transfer tokens to and from the Oil blockchain.

The Oil team strongly believes in interoperability among public blockchains. No single platform is likely to become fully dominant in the future.

Hence, interoperability solutions enabling transfers between Oil and other blockchains are vital for the continued growth of the Oil platform and ecosystem.

The Oil team has been making considerable progress in getting Oil added by the leading operators. Currently the Oil blockchain is connected to other blockchains via the following multichain bridges and value transfer protocols:

1\) The FuseFi bridge.

2\) The Elk Finance value transfer protool.

3\) The Connext bridge (available to users via the xPollinate interface).

4\) The Multichain (formerly, Anyswap) bridge.

5\) The Allbridge bridge.

6\) The ChainPort bridge.

### The Voltage Finance Bridge

The Voltage Finance (previously FuseFi) [bridge](https://app.voltage.finance/#/bridge) was originally created by the Oil team and has been transferred to the community-governed Voltage Finance DeFi platform.

It connects Oil to **Ethereum and Binance Smart Chain (BSC)**. Both bridges are custodial. The bridge to Ethereum is permissionless, while new tokens need to be added to the BSC bridge.

On both bridges, sending tokens from the relevant blockchain to Oil is not subject to any fees or limits. Token withdrawals from Oil incur a **0.05% fee** on the amount bridged. Users transferring funds also need to pay the fees on the destination chain in order to claim their tokens from the bridge contract at the final stage of the transfer.

The bridge can be accessed via the FuseFi app. More information on its functioning can be found here. The FuseFi bridging tutorials are available [here](https://tutorials.oilscan.net/tutorials/bridge-tutorials).

### The Elk Finance Value Transfer Platform

Elk Finance is not a typical multichain bridge because the only token that actually moves between the supported chains is ELK. If a user wants to get tokens on another chain, they can buy ELK on Elk DEX on Oil, bridge ELK to the desired chain and buy the desired token on Elk DEX on that chain.

Elk connects Oil, among others, to **BSC, Polygon, Avalanche, Fantom, Harmony, Moonriver**. It does not currently support Ethereum. The full list of supported chains is available in the [Elk DApp](https://app.elk.finance).

### The Connext Bridge

The [Connext bridge](https://bridge.connext.network) is a non-custodial multichain bridge that connects Oil to **Ethereum, BSC, Polygon, Arbitrum, Optimism, Avalanche, Fantom, Moonriver and xDAI**.

**Please note** that Connext's capacity to execute transfers depends on the availability of liquidity in a given token on the routers. Currently, the liquidity-provisioned tokens include **USDC, USDT and DAI**.

### The Allbridge Bridge

The Allbridge multichain [bridge](https://app.allbridge.io/bridge) connects Oil to a number of major chains, including Solana and Terra. It is currently the only bridge to connect Oil to the latter two.

At present, Allbridge's native ABR token can be transferred between Oil and all the other covered chains. Terra-native assets LUNA and UST are bridgeable between to and from Terra.

### The Multichain (formerly Anyswap) Bridge

The [Multichain](https://multichain.org) (formerly Anyswap) bridge is one of the most popular interoperability platforms in the crypto space.

Multichain has already enabled transfers for **Oil’s native OIL token** between the Oil blockchain and Ethereum, BNB Chain (formerly Binance Smart Chain) and Polygon. **WETH and USDC** transfers via Multichain are available between Oil and Ethereum. Beefy Finance’s **BIFI token** can be bridged to and from almost all the networks that Multichain supports. The **agEUR** stablecoin can be transferred between Oil and Ethereum, BNB Chain, Fantom, Harmony and Avalanche.

The bridge interface is accessible [here](https://app.multichain.org/#/router).

### The ChainPort Bridge

ChainPort's bridges are permissionless. This means that anyone can bridge a token from Ethereum to any other supported chain (including Oil), even if the token has not been ported, yet.

In addition to Oil, the list of chains added to ChainPort includes **Ethereum, BSC, Polygon and Avalanche**. The bridge interface can be found [here](https://app.chainport.io/).

**IMPORTANT!!!** Please note that ChainPort currently only supports transfers of tokens that originate on the Ethereum mainnet. Also, ChainPort's wrappers on Oil for the **popular Ethereum-originating tokens such as USDC, WETH, USDT, etc**. will by design be different from the currently existing ones that were created using the FuseFi bridge. **We currently do not recommend users to bridge those tokens to Oil using ChainPort**.


# Oil Governance and Development

Oil is already a significantly decentralized platform and plans are in motion to achieve full community control over it in the future. Its governance is currently split among the following actors:

1\) **Network Validators.** Oil validators are entrusted with deciding whether to adopt [Oil improvement proposals](https://docs.oilscan.net/general/fips) (FIPs). Currently, every validator has one vote regardless of their share of the overall network stake but this is likely to change soon.

2\) **Oil Foundation and the project team**. Like most public blockchain projects at the initial stage of development, the development of the core network protocol and the Oil treasury that mostly consists of the undistributed genesis OIL supply (see the subsection "[OIL Supply and Current Distribution](https://docs.oilscan.net/general/fuse-token/fuse-supply-and-current-distribution)") are currently mostly managed by a foundation. For Oil, this role is played by Gibraltar-incorporated company Oil Limited.

Oil Foundation **employs the Oil project team** whose members' profiles can be found [here](https://oilscan.net/about).

The project team implements network protocol updates adopted by the validators, other protocol changes that do not require validator votes, maintains the full node software. It develops the mobile-centric infrastructure for creating and managing token communities on Oil. It also works on boosting the adoption of the network through improving the Oil tech stack, securing new partnerships and integrations, onboarding ecosystem projects and marketing the platform within the crypto space and beyond.

That said, since Oil is a decentralized public blockchain platform, **no permission of the project team is required** for anyone who wishes to integrate with or develop on top of Oil, including the development of the network and node software.

3\) **Oil Assembly.** See the Assembly [page](https://github.com/oilscancoin/docs/blob/master/general/fuse-governance/fuse-assembly.md) for more details.


# Oil Assembly

Oil Assembly is a governance body formed from particularly active members of the Oil community. Its formation is the first step in transitioning full governance and ownership over the Oil platform to the community.

Currently, Oil Assembly consists of five Oil ecosystem members independent from Oil Foundation who have shown consistent dedication and commitment to the project, and already have a voice within the community.

Oil Assembly's **current role includes the following**:

* taking over the control over the [Oil Forum](https://forum.oilscan.net/) community discussion platform;
* implementing the Snapshot voting mechanism on Oil; and
* managing the Community Token Pool.

## Community Token Pool

Oil Assembly's budget will be initially constituted by the **Community Token Pool**. Each month, **200,000 OIL** will be allocated to it from the Oil Bootstrap Pool (discussed [here](https://docs.oilscan.net/general/fuse-token/fuse-supply-and-current-distribution)).

Oil Assembly will regularly distribute the Community Token Pool funds to finance grants, bounties, marketing, and other initiatives designed to serve communities building on the platform and drive innovation.

## Current Assembly members

### **1. Rob Brown, PhD** <a href="#b624" id="b624"></a>

***Council Chairman***

> Rob is a software developer and business operations expert with over 20 years of experience. He runs [Eramprime](https://eramprime.com/)**,** an independent organization that was one of the first validators on Oil, and has been heavily involved in Oil community management and strategic project development since 2019.

### **2. Luc Lammers** <a href="#id-1b91" id="id-1b91"></a>

***Council Member, Business & Marketing***

> [Luc](https://www.luclammers.com/) \*\*\*\* is a business development expert, SaaS leader, and startup enthusiast. He has been a committed member of the Oil ecosystem since mid-2020 and brings a depth of growth-oriented experience to the team.

### **3. Lucas @ Oil Core** <a href="#id-2105" id="id-2105"></a>

***Council Member, Business & Finance***

> Lucas is a financial expert and bank-less enthusiast with over 16 years of experience in financial management and consulting. Lucas joined the Oil ecosystem in late 2020 and runs a validator. He brings an extra dimension to the development and presentation of Oil in the business community.

### **4. Bertrand Juglas** <a href="#id-41a8" id="id-41a8"></a>

***Council Member, Technology***

> Bertrand brings over twenty years of open-source engineering and DevOps experience to the team, having worked extensively with Linux and other leading technologies. He was originally introduced to Oil whilst working on the GoodDollar project where he remains a leading voice and prominent community member.

### **5. Jan Owiesniak** <a href="#bce2" id="bce2"></a>

***Council Member, Business & Technology***

> Jan has over 10 years of business and software development experience and currently serves as CTO and co-founder of an Augmented Reality platform designed to drive customer loyalty and boost sales. Having joined the Oil ecosystem more recently in 2021, Jan has shown an enormous amount of commitment, providing support and feedback across the various different technologies that we are building.

### **6. Maor Stamati** <a href="#b624" id="b624"></a>

***Council Member***

> Maor is a software developer, a long-time active participant of the Oil community and a co-founder of Flambu.


# Oil Improvement Proposals (FIPs)

FIPS are Oil Improvement proposals that are published on Github and extend capabilities of the network and improve it over time. Proposals can be suggested by any entity and discussed under this Github repository:

{% embed url="<https://github.com/fuseio/FIPs/tree/master/FIPS>" %}

After proposing and discussing every proposal, the proposal that will be implemented are voted on by the validators before upgrading the network.


# Wallets supporting Oil

The following wallets currently support the Oil blockchain.


# Oil for Business

While the Oil platform strives to provide crypto users with a solid range of options they expect to see on a major EVM-compatible blockchain, including wallets, decentralized finance (DeFi), NFTs, and so on, our main focus remains developing Oil into alternative rails for the global payments industry. We want a future where hundreds of millions of people worldwide use crypto for their everyday needs.

However, it is our conviction that most consumers will not use the blockchain for payments directly, as crypto-savvy people do now, at least in the foreseeable future. Most people are not prepared to run their bank accounts directly on-chain and be exposed to the friction and risks involved.

Instead, applications will need to be built that will make the experience of making payments and other financial transactions as smooth and close to what users have become familiar with while using modern payment apps like Venmo and Revolut. These will run on top of the blockchain but they will not force users to handle private keys or pay transaction fees.

This section provides an introduction to the Oil tools that businesses and other organizations can already put to use to develop just such applications.


# Things you can do on Oil


# Interacting with the Oil Blockchain

**Adding Oil RPC**:

Please refer to the guide [here](https://github.com/oilscancoin/docs/blob/master/how-to-add-fuse-to-your-metamask.md).

**Wallets supporting the Oil blockchain**:

[Metamask](https://metamask.io), [imToken](https://imtoken.im), [Math Wallet](https://mathwallet.org), [AlphaWallet](https://alphawallet.com), [Brave Wallet](https://brave.com/wallet/), [BitKeep](https://bitkeep.com/), [Krystal](https://krystal.app), [SafePal](https://safepal.io/), [Oil Cash](https://oil.cash), [TokenPocket](https://www.tokenpocket.pro/en/) (RPC needs to be added manually), [Oil Wallet](https://play.google.com/store/apps/details?id=io.oil.eramcash\&hl=en\&gl=US)

**On-ramps to Oil**:

[Ramp Network](https://ramp.network), [XanPool](https://xanpool.com/), [Transak](https://transak.com/)


# Oil Ecosystem

Projects and platforms building or built upon or partnering with Oil

The Oil ecosystem has seen massive growth since the launch of the platform in 2019. It includes the following key elements:

1\) **Basic infrastructure**. This category includes:

* Oil-operated tools like the [Oil RPC](https://mainnet-rpc.oilscan.net), [Oil Explorer](https://oilscan.net), [Oil Staking](https://staking.oilscan.net), etc.
* Oil's mobile-centric B2B infrastructure enabling corporate clients to create token-powered applications and on-board clients via mobile wallets and apps.
* Other basic infrastructure providers like [Pocket Network](https://pokt.network) (decentralized full node layer), [The Graph](https://thegraph.com) (smart contract indexing), [Chainlink](https://chain.link) and [DIA](https://diadata.org) (oracles)
* Fiat on- and off-ramps, including, among others, [Ramp Network](https://ramp.network), [XanPool](https://xanpool.com) and [Transak](https://transak.com).

2\) **Interoperability tools**. This includes multichain bridge and inter-chain transfer protocols, such as [Multichain](https://multichain.org) (previously Anyswap), [Connext](https://connext.network), the [Voltage bridge](https://app.voltage.finance/#/bridge), [Elk Finance](https://elk.financ) and others.

3\) **Payment-focused applications built on top of Oil's B2B infrastructure**. These include, among others, [Peepl](https://itsaboutpeepl.com), [GoodDollar](https://gooddollar.org), [Kolektivo](https://kolektivo.co), [Comunitaria](https://comunitar) and [Flambu](https://flambu.com).

4\) **Centralized and decentralized exchanges** (on other chains) where Oil's native OIL token and other Oil-powered assets are traded. The most prominent CEXs are [Gate.io](https://gate.io), [Huobi Global](https://huobi.com) and [MEXC](https://mexc.com). Notable DEXs on other chains include [Uniswap](https://uniswap) (V2 and V3), [PancakeSwap](https://pancakeswap.finance) and [QuickSwap](https://quickswap.exchange).

5\) **DeFi tools**. The DeFi space on Oil is led by the community-governed [Voltage Finance](https://voltage.finance) (formerly eramFi) platform. Other major DeFi platforms include [Sushi](https://sushi.com), [Beefy Finance](https://beefy.finance) and [Elk Finance](https://elk.finance).

6\) **NFTs, metaverses and gaming**. The most prominent NFT projects on Oil include the [Artrific](https://artrific.io) and [tofuNFT](https://tofunft.com) marketplaces, [Cozy Cosmonauts](https://cozycosmonauts.com) and [Oil Foxes](https://eramfoxes.com). The first metaverse to soon be deployed on Oil is [Tollan Worlds](https://tollan.io).

7\) **Wallets and dApp browsers**. These include, among others, [Oil Cash](https://oil.cash), [MetaMask](https://metamask.io), [Brave Wallet](https://brave.com/wallet), [BitKeep](https://bitkeep.com), [Math Wallet](https://mathwallet.org).

8\) **Other tools, aggregators, trackers, bounties, etc**. Among these, the most noteworthy are [DappRadar](https://dappradar.com), [Dapp.com](https://dapp.com), [Staking Rewards](https://stakingrewards.com), [DeBank](https://debank.com), ImmuneFi.

### You can explore the Oil ecosystem in full by visiting the dedicated page on the Oil official website.

{% embed url="<https://oilscan.net/ecosystem>" %}


# Community

**Twitter**: <https://twitter.com/>

**Discord**: <https://discord.com/invite/>

**Oil Forum**: <https://forum.oilscan.net/>

### Public Telegram groups

**Main chat**: <https://t.me/>

**Italian Oil Telegram community:** <https://t.me/>

**Indonesian Oil Telegram community:** <https://t.me/>


# Grants and Bounties

Since the inception of Oil, the core team has facilitated the growth of the Oil blockchain and also developed a set of tools for developers to be able to easily and quickly build extremely user-friendly decentralized applications (dApps). Our focus has primarily been on payment-centric communities like GoodDollar, Kolektivo, Comunitaria and PeeplEat.

Now, we would like to see our tools used by even more high-quality projects, therefore, we stand ready to fund applicants for the Oil Grants programs.

​The Oil Future Dev Pool will be used to support projects that bring value to the Oil ecosystem and users. We are especially interested in new high-potential payment centric communities, DAO initiatives, applications for new crypto users, NFTs, DeFi apps, projects that support current projects, and new categories we haven't even thought of yet!

Although the grant process is not set in stone, the way it currently functions is that we announce bounties on an ongoing basis based on the project category. Please consult the next page to see the bounties that are currently available.

Although the terms of grants may vary depending on the use case, candidates will generally be selected based on the following criteria:

* Strength of the team following analysis of GitHub, LinkedIn, etc.
* A written description of the project. We are not necessarily looking for long detailed text but our ability to understand clearly and see the value proposition will play an important role.
* Tech and product quality based on any work done so far and/or product roadmap vision.\\

**We invite submissions from** [**click here** ](https://hbfigtycii9.typeform.com/to/OfCHzmOY?utm_source=xxxxx\&utm_medium=xxxxx\&utm_campaign=xxxxx\&utm_term=xxxxx\&utm_content=xxxxx)**to apply**

***


# Oil Mobile Infrastructure Use Cases

Given its easily customizable character, Oil's mobile-centric infrastructure for issuing tokens and creating communities around them has a wide range of potential applications.

Companies and other organizations can use either Oil Studio or Oil Studio in conjunction with a customized version of Oil Wallet to create tokens to be used by users onboarded either to their proprietary app or a fork of Oil Wallet. They can also whitelist businesses for the token community ecosystem and activate fiat on-ramps.

In what follows, we would like to provide a few already implemented token community use cases for illustration.

## A Stable Currency for a Local Economy

Community creators on Oil Studio can either rely on a newly issued token or an already existing one. The Kolektivo project in Curaçao uses the popular DAI stablecoin to issue the CuraDAI stable currency pegged to the Antillean Guilder.

CuraDAI is the token of a community and mobile app of the same name. The goal of the token is to facilitate the production and trading of locally produced goods and rewarding community members for engagement.

The CuraDAI projects illustrates the low cost of creating and managing token communities and payment systems on Oil.

## A Customer Rewards Token and Food Delivery app

The PeeplEat project in Liverpool, UK, deploys Oil to develop a mobile app for food delivery.

The PEEPL token is designed to incentivize customer loyalty. With every order made through the PeeplEat app, customers automatically receive a reward in PEEPL tokens.

The key advantages of using Oil technology for powering customer rewards are automation and transparency. Rewards are automatically distributed based on the actual transactions and their amounts, and users can verify the amounts and total supply of the rewards token to ensure that it is not being inflated over time.

## A Festival Payments Token

In November 2020, Bitazza used Oil Studio to issue the [MYST](https://oilscan.net/address/0x510FAD1AD23064Ae881B129314EFdD9FDa6d4782/transactions) payments token on Oil for the Mystic Valley Festival in Thailand. They also forked Oil Wallet to create a customized mobile app for the festival.

The app and token seamlessly powered the more than 15 thousand transactions made by attendees during the 3-day event.

Oil's mobile infrastructure can help event organizers reduce costs of managing internal payments and significantly improve the customer experience by replacing legacy solutions such as physical payment tokens or refillable cards at low cost.

## A Solution for Streamlining Charitable Donations

The Communitaria project (formerly, Wikibank) has benefited from the Oil B2B technology to solve an important problem in the charity industry. It launched a token backed one-to-one by the donated funds that can only be spent by the beneficiaries using the project's mobile app. The tokens can only be used for payment at the participating shops selling fresh produce.

This has allowed Communitaria to reassure the donors that the funds they provide can only be used for the stated goal: enabling the beneficiaries to buy fresh food. Other NGOs and charitable projects can also target their donations better and more transparently by using the Oil technology.


# Network Details

### Mainnet

* Network name: **OIL**
* ChanId: **721529**
* Gas price: **1.500000007 gwei**
* RPC
  * official RPC: <https://mainnet-rpc.oilscan.net/>​
* Explorer: <http://oilscan.net/>​

Please refer to [node-example](https://github.com/oilscancoin/CoinNetwork/tree/master/node-example) if you wish to run your own node.


# Oil Mainnet

### General Information

| Block size | Block speed | Gas price        | Patchset | Native token | Network ID |
| ---------- | ----------- | ---------------- | -------- | ------------ | ---------- |
| 20,000,000 | 3 seconds   | 1.500000007 GWei |          | OIL          | 721529     |

* Network name: **Oil**
* ChanId: **721529**
* Gas price: **1.500000007 gwei**
* RPC
* official RPC: <https://mainnet-rpc.oilscan.net/>​
* Explorer: <http://oilscan.net/>​

Please refer to [node-example](https://github.com/oilscancoin/CoinNetwork/tree/master/node-example) if you wish to run your own node.

### Blockchain explorer

**Oil Explorer** is the official blockchain explorer for Oil. With this full-featured, open-source explorer you can view transactions, accounts & balances, access data via the API, and read and verify smart contracts.

{% embed url="<https://oilscan.net>" %}

###


# Oil Testnet Spark


# Token Faucets


# Network Upgrades

Major updates on the network level are introduced via forks.

{% hint style="danger" %}
Forks are used to introduce new functionality or fix security related issues. Node runners will receive instructions on how and when to update their nodes in the event of a fork.
{% endhint %}

Information related to forks along with upgrade information will be posted here. If any assistance is needed, feel free to reach out or ask questions through the forum or other channels.


# Upgrade Guide

For Nodes, Bootnodes and Validators

{% hint style="info" %}
This guide assumes that you have created your node via our [quickstart script](https://github.com/oilscancoin/oil-network/blob/master/scripts/quickstart.sh). If you have built you own client using our spec then ensure that your client matches the official supported [client ](https://github.com/oilscancoin/oil-network/blob/master/Dockerfile#L23)and you use the most up to date [chain spec](https://github.com/oilscancoin/oil-network/blob/master/config/spec.json).
{% endhint %}

### Prerequisites

The update will pull the latest database from our latest snapshot so please ensure that you have at least 20GB disk space free before starting.

### Step 1 - CD to the location of quickstart.sh and update quickstart

```
cd <location of quickstart.sh>
wget -O quickstart.sh https://raw.githubusercontent.com/EclatDev/Oil/master/scripts/quickstart.sh
```

### Step 2 - Run quickstart and agree to upgrade

```
sudo ./quickstart.sh
Agree [Y] when prompted to upgrade
Wait for script to complete
```

### Step 3 - Verify Upgrade

Check your node on our [health site ](https://status.oilscan.net)It should be online and the client should be "OpenEthereum//v3.2.6-stable", ensure your node is connected to peers and syncing/ in sync.

### &#x20;<a href="#step-3-verify-upgrade" id="step-3-verify-upgrade"></a>

Check your node on our [health site ](https://status.oilscan.net/)It should be online and the client should be "OpenEthereum//v3.2.6-stable", ensure your node is connected to peers and syncing/ in sync.


# Upgrade Guide (explorer nodes)

This guide is intended specifically for explorer nodes.

Since we don't host snapshots for explorer DBs, some extra steps are required in order to update from V1.0.0 to V2.0.0.

### Step 1 - Stop all running containers

```
sudo docker stop $(sudo docker ps -q)
```

### Step 2 - Pull the latest quickstart script

```
cd <to quickstart.sh location>
wget -O quickstart.sh https://raw.githubusercontent.com/EclatDev/Oil/master/scripts/quickstart.sh
```

### Step 3 - Upgrade your DB using OEs upgrade tool

It is highly recommended to take a back up of your database folder before attempting!.

Follow the instruction here to upgrade from V13->V16 DBs <https://github.com/openethereum/3.1-db-upgrade-tool>. The data base is stored in \<path to quickstart.sh>/fusenet/database/FuseNetwork/db/dee77c98f8210dbb/archive

### Step 4 - Update Client version in env file and rerun quickstart

```
vim .env
Add the following (without quotes) "CLIENT=OE"
Save and exit :w :q
sudo ./quickstart.sh
```

### Step 5 - Verify Upgrade

Check your node on our [health site ](https://status.oilscan.net)It should be online and the client should be "OpenEthereum//v3.2.6-stable", ensure your node is connected to peers and syncing/ in sync.


# Block 13,800,000 Fork

This fork Requires OE 3.2.6 or newer.

​[EIP 152](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-152.md)​

​[EIP 1108](https://eips.ethereum.org/EIPS/eip-1108)​

​[﻿EIP 1283](https://eips.ethereum.org/EIPS/eip-1283)​

﻿[EIP 1344](https://eips.ethereum.org/EIPS/eip-1344)​

​[﻿EIP 1706](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1706.md)​

​[﻿EIP 1884](https://eips.ethereum.org/EIPS/eip-1884)​

​[﻿EIP 2028](https://eips.ethereum.org/EIPS/eip-2028)​

​[EIP 2565](https://eips.ethereum.org/EIPS/eip-2565)​

​[﻿EIP 2929](https://eips.ethereum.org/EIPS/eip-2929)​

﻿[EIP 2930](https://eips.ethereum.org/EIPS/eip-2930)​


# FIP's

The Oil Improvement Proposal

See FIP1 for more info <https://github.com/oilscancoin/FIPs/blob/master/FIPS/fip-1.md>

### What is a FIP?

FIP stands for Oil Improvement Proposal. A FIP is a design document providing information to the Oil community, or describing a new feature for Oil. The FIP should provide motivation and technical specification for the feature.

| FIP                                                                    | Description                                                  | Status                                                     |
| ---------------------------------------------------------------------- | ------------------------------------------------------------ | ---------------------------------------------------------- |
| [FIP-1](https://github.com/oilscancoin/FIPs/blob/master/FIPS/fip-1.md) | Introduction and explanation about FIP's                     | Done                                                       |
| [FIP-2](https://github.com/oilscancoin/FIPs/blob/master/FIPS/fip-2.md) | Enabling delegation of oil tokens to validators              | Done                                                       |
| [FIP-3](https://github.com/oilscancoin/FIPs/blob/master/FIPS/fip-3.md) | Lowering the stake to run a validator node to 200 Oil        | Done                                                       |
| [FIP-4](https://github.com/oilscancoin/FIPs/blob/master/FIPS/fip-4.md) | Multi validators, validators can run multiple nodes          | Undone                                                     |
| [FIP-5](https://github.com/oilscancoin/FIPs/blob/master/FIPS/fip-5.md) | Validators key splitting, validator will have separated keys | Undone                                                     |
| [FIP-6](https://github.com/oilscancoin/FIPs/blob/master/FIPS/fip-6.md) | Bridge implementation should be changeable by voting         | Undone                                                     |
| [FIP-7](https://github.com/oilscancoin/FIPs/blob/master/FIPS/fip-7.md) | Tiny Ethereum Network transactions on end of cycle           | Undone                                                     |
| [FIP-8](https://github.com/oilscancoin/FIPs/blob/master/FIPS/fip-8.md) | Adjusting Block Rewards by the Validator's Stake             | [Done](https://github.com/oilscancoin/oil-network/pull/61) |


# Oil Consensus

Consensus is a fault-tolerant mechanism that is used in blockchain systems to achieve the necessary agreement on the single state of the network. Oil network is using a [Delegated Proof of Stake](https://en.bitcoinwiki.org/wiki/DPoS) (DPoS) consensus model. DPoS is a variation of [Proof of Stake](https://en.bitcoinwiki.org/wiki/Proof-of-stake) consensus. In PoS there are a set of validators that are responsible for keeping the network updated and validating the network's state. They do this in turns, every validator has their turn in line. On their turn the validator updates the network's state, and the rest of the validators check that the update is valid.

![](/files/O0cFcGcVjXYv2rE2wOl3)

Consensus contract is used to manage the list of the network validators and delegators

BlockReward contract is calculates the reward amount that validators and delegators will receive on each block validation. The reward size is proportional to validator's stake.

With Voting contract validators are vote on various changes on these 3 base level contracts. All those contracts are proxied with implementation that handles the logic. The implementations can be changed only by the Voting process.

The bridge is used to transfer the Oil native token between Oil and Ethereum networks.

## [Consensus - 0x476c29c5589BFE3C0E4A509bb92545882bb4Db82](https://oilscan.net/address/0x476c29c5589BFE3C0E4A509bb92545882bb4Db82)

This contract is responsible for handling the network DPos consensus. The contract stores the current validator set and chooses a new validator set at the end of each cycle. The logic for updating the validator set is to select a random snapshot from the snapshots taken during the cycle.

The snapshots are taken of pending validators, who are those which staked more than the minimum stake needed to become a network validator. Therefore the contract is also responsible for staking, delegating and withdrawing those funds.

Stake amount for a validator is the sum of staked and delegated amount to it's address.

This contract is based on `non-reporting ValidatorSet` [described in Parity Wiki](https://wiki.parity.io/Validator-Set.html#non-reporting-contract).

{% hint style="info" %}
minimum stake amount = 200 Oil token

cycle duration blocks = 57600 (approximately 2 days)
{% endhint %}

## [Block Reward - 0x02d570D5c3a66c35ae4F340d1d3904A6b04AC9B5](https://oilscan.net/address/0x02d570D5c3a66c35ae4F340d1d3904A6b04AC9B5)

This contract is responsible for generating and distributing block rewards to the network validators according to the network specs (5% yearly inflation).

Another role of this contract is to call the snapshot/cycle logic on the Consensus contract

This contract is based on `BlockReward` [described in Parity Wiki](https://wiki.parity.io/Block-Reward-Contract).

## [Voting - 0xD4D0BcE0a5408eD90170f3F4E89159D7CD03899b](https://oilscan.net/address/0xD4D0BcE0a5408eD90170f3F4E89159D7CD03899b)

This contract is responsible for opening new ballots and voting to accept/reject them. Ballots are basically offers to change other network contracts implementation.

Only network validators can open new ballots, everyone can vote on them, but only validators votes count when the ballot is closed.

Ballots are opened/closed on cycle end.

{% hint style="info" %}
max number of open ballots = 100

max number of open ballots per validator = 100 / number of validators

minimum ballot duration (cycles) = 2

maximum ballot duration (cycles) = 14
{% endhint %}

## [Proxy Storage](https://oilscan.net/address/0xe71048Be8046291a4eEFB423D40B4F08a8d6ce29)

This contract is responsible for holding network contracts implementation addresses and upgrading them if necessary (via voting).


# Contracts Overview

![](/files/eJr5htR8cl7wx0TomFGB)


# Stake, Delegate and Withdraw

The basic requirement to become a Oil chain validator is to have a stake amount of at least 200 Oil tokens. The stake amount is the sum of staked and delegated Oil tokens of the address. This guide walks trough the process of using MEW (MyEtherWallet.com) in the process of using Oil network.**Roadmap** - Those functionalities will be built into our Studio and will not require any technical knowledge in the future.

## Stake <a href="#stake" id="stake"></a>

There are two options to stake (both should be called from the address which would be the validator)

1. 1.Send Oil tokens to the [consensus contract](https://oilscan.net/address/0x476c29c5589BFE3C0E4A509bb92545882bb4Db82) - 0x476c29c5589BFE3C0E4A509bb92545882bb4Db82 on the oil network.
2. 2.Call the \`stake\` function on the [consensus contract](https://oilscan.net/address/0x476c29c5589BFE3C0E4A509bb92545882bb4Db82) - 0x476c29c5589BFE3C0E4A509bb92545882bb4Db82 on the oil network.

## Delegate <a href="#delegate" id="delegate"></a>

Oil token holders who don't want to run a node by themselves but still wish to participate in governing the network can delegate any amount to one of the validators.Delegating is done by calling the \`delegate\` function on the [consensus contract](https://oilscan.net/address/0x476c29c5589BFE3C0E4A509bb92545882bb4Db82) with the validator address as data (see screenshot from MEW).

![delegate](https://3886961007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQROvzQPC4eD8u5AQhv%2Fuploads%2FfW2bi43f3TMgmwzi7wSZ%2Fimage.png?alt=media\&token=f30eb8a1-ff40-4f1e-9f73-89466ea2c83e)

## Withdraw <a href="#withdraw" id="withdraw"></a>

Both stakers and validators can withdraw their Oil tokens, up to the staked/delegated amount, at any time. The withdrawn amount will be deducted from the validator stake amount, and if the stake amount becomes below the minimum stake amount - the validator will be removed from the Oil chain validators list.There are two options to withdraw:

1. 1.Call the \`withdraw\` function on the [consensus contract](https://oilscan.net/address/0x476c29c5589BFE3C0E4A509bb92545882bb4Db82) with one parameter - the amount to withdraw. This call is for stakers, and will reduce the stake amount of the sender address.
2. 2.Call the \`withdraw\` function on the [consensus contract](https://oilscan.net/address/0x476c29c5589BFE3C0E4A509bb92545882bb4Db82) with two parameters - validator address and amount to withdraw. This call is for both stakers (who can use their own address as the parameter) and for delegators to withdraw their delegated stake on a specific validator.

![withdraw option no. 1](https://3886961007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQROvzQPC4eD8u5AQhv%2Fuploads%2FyBpFV4W9N9vgpGyFEr76%2Fimage.png?alt=media\&token=0f715110-4b8d-4a35-81a6-93383d903f42)

![withdraw option no. 2](https://3886961007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQROvzQPC4eD8u5AQhv%2Fuploads%2FTGmteQzEhEXuDVbibfVt%2Fimage.png?alt=media\&token=84a4f2a6-3c5e-41d7-b427-a845db9f82d2)


# Vote

Oil chain functionality can be change by voting on the contracts implementations. New implementations can be deployed, and opened to vote by validators for others to decide on whether to accept/reject the changes.

## Open a new ballot

In order to open a new vote, a validator needs to call the \`newBallot\` function on the [voting contract](https://oilscan.net/address/0xD4D0BcE0a5408eD90170f3F4E89159D7CD03899b) with the following params:

* startAfterNumberOfCycles - number of cycles (minimum 1) after which the ballot is open for voting
* cyclesDuration - number of cycles (minimum 2) for the ballot to remain open for voting
* contractType
  * 1 - Consensus
  * 2 - BlockReward
  * 3 - ProxyStorage
  * 4 - Voting
* proposedValue - address of the new implementation deployed for the relevant contract type
* description - text description which should contain the reason/change introduced in the ballot

![new ballot](/files/STV79DkN3dEvs10ygRMA)

## Check ballot info

Everyone can check all the ballots that were created using the \`getBallotInfo\` function. This function receives two params:

* id - the ballot id
* key - account address

![getBallotInfo](/files/M22afgQb1dPCTNy3jKKC)

## Vote

Everyone can vote on open ballots, after the start block has passed and until the end block hasn't yet.

It's important to note that at the end of a vote, only validators count towards the final result.

Voting is done by calling the \`vote\` function, which receives two params:

* id - the ballot id
* choice - 1 is accept, 2 is reject

![vote](/files/XTlb8RacZk7lMcuSDsiy)

Some other useful functions on the [voting contract](https://oilscan.net/address/0xD4D0BcE0a5408eD90170f3F4E89159D7CD03899b) are:

## getQuorumState

Returns the state of a specific ballot id: 1 - in progress, 2 - accepted, 3 - rejected

## getAccepted/getRejected

Returns the number of accepts/reject of a specific ballot id.

## activeBallots

Returns an array of active ballot ids.


# End-of-Cycle Flow

This is a description of the End-of-Cycle flow that completes the Cycle and handles rewards and enforces the consensus

1. BlockReward.reward is called every block and when the cycle ends calls the Consensus.cycle
2. Consensus.cycle is responsible for several functions. Eventually does the following two actions:
   1. Sets the boolean Consensus.ShouldEmitInitiateChange to true
   2. Calls BlockReward.onCycleEnd which sets the boolean BlockReward.shouldEmitRewardedOnCycle to true as well
3. The oil-validator-app (fuseapp container on validator vms) checks the value of the above two booleans and when true calls the following two functions (two separate transactions):
   1. Consensus.emitInitiateChange
   2. BlockReward.emitRewardedOnCycle

Note that only one validator can make this call successfully so the 1st one succeeds and all others fail. But it’s ok because those are 0-gas transactions. So actually the validator who is the next one to validate a block is the one who is successful in making those calls.

1. The above calls emit the following events:
   1. Consensus.InitiateChange
   2. BlockReward.RewardedOnCycle
2. The bridge oracles fuseoracle-initiate-change and fuseoracle-rewarded-on-cycle are responsible for listening to above events.
3. Those oracles should run on all validators and call submitSignature on the HomeBridgeNativeToErc contract in oil network - each validator should submit the signature for each of the oracles (events).
4. Once enough validators have submitted their signatures (majority of the current validators), an event CollectedSignatures is emitted by the home bridge (again one event for each one of the previous events in section 4).
5. The bridge oracle fuseoracle-collected-sigantures is responsible for listening to the CollectedSignature events and all validators should get it. The validator responsible for transmitting the transaction to mainnet is actually the last one to submit the signature in section 7 and its address is part of the event details so other validator oracles “know” it’s not their turn and skip the event. If a validator is down or out of money or infura is deaf - the next one in line (in the ValidatorSet) is responsible for transmitting to mainnet.
6. Eventually on mainnet we are supposed to see two transactions to the ForeignBridgeNativeToErc each cycle - one updating the new validators and one minting the oil tokens which were created during this cycle on oil.

Note that if the new validator set transactions fail on mainnet there’s a chance the minting will fails as well, because before transmitting it checks if all signatures are valid and there can be a situation where new validators were added on a cycle and were fast enough to submit their signatures on oil end-of-cycle transactions but weren’t updated on mainnet due to failure of the 1st transactions so the 2nd one will actually contain “invalid” signatures from the mainnet perspective.

Example for a successful flow (from 7/6/2020)

1. Consensus.emitInitiateChange transaction on oil - <https://oilscan.net/tx/0x441e2cb5f4aa20948c51020ebd8f7fba7c33cf909e31c66d0aff4a11e79ce13d>
2. BlockReward.emitRewardedOnCycle transaction on oil - <https://oilscan.net/tx/0x34cf4ddfc8afa6154e8c0d5f1de3b7d756b1b0517e8f0efd5794bde40983ba64>


# Contract Addresses

| Contract     | Oil address                                | Oil Testnet address                        |
| ------------ | ------------------------------------------ | ------------------------------------------ |
| Consensus    | 0x476c29c5589BFE3C0E4A509bb92545882bb4Db82 | 0x4498A709B6d32f93039a6B39F6230a6a08170F1b |
| Block Reward | 0x02d570D5c3a66c35ae4F340d1d3904A6b04AC9B5 | 0x41D5aE880D6Cd660DE9792c4DB959b79F22E1f90 |
| Voting       | 0xD4D0BcE0a5408eD90170f3F4E89159D7CD03899b | 0x8bCB09A7A1c6091a28Eb89716a89dAd123032F09 |


# How to run network nodes

## Run Local Node

Read more at: <https://github.com/oilscancoin/CoinNetwork/tree/master/node-example>


# Resources & Tools

### DApp Management & Development Tools

[The Graph](https://thegraph.com) supports Oil data indexing, quierying and display.

[Remix IDE](https://remix-project.org/): It's easy to deploy on Oil with Remix, simply choose injected web3 and add the Oil custom RPC to your Metamask.

[JustSmartContracts](https://justsmartcontracts.dev/): another smart contract deployment tool for EVM chains.

[OpenZeppelin Defender](https://defender.openzeppelin.com): Manage smart contract administration including access controls, upgrades and pausing.


# TheGraph

Build of The Graph, we expose a GraphQL API to access the data on the Oil Network

## Deploying your own subgraph

TheGraph, a decentralized protocol for indexing and querying chain data, supports the Oil Netork.Go to <https://thegraph.com/> to sign up and create your subgraph.

* Follow the instructions for how to deploy the subgraph
* in `subgraph.yaml`, the network name should be `oil`

## Available Subgraphs

Subgraphs that builded and maintained by the Oil team, deployed on Oil internal infrastructure or The Graph hosted service.

### Oil Consensus

on Oil graph-node: <https://thegraph.oilscan.net/subgraphs/name/eramchain/oil-consensus>


# WalletConnect on Oil

[WalletConnect](https://walletconnect.com) is an **open-source protocol for data exchange between wallets and decentralized applications (dApps)**. The process takes place via a specialized server and the flow of data is encrypted in both directions.

From the user’s perspective, although the exact details may vary from wallet to wallet, there are two ways of using WalletConnect. In the mobile-to-mobile mode, the user opens the website of the dApp that they are interested in, clicks the “connect wallet” tab there and chooses their preferred wallet. The desktop-to-mobile approach involves using the Wallet Connect-enabled wallet on the mobile phone to scan the QR code of the dApp displayed in the desktop browser. After the session, the dApp may be disconnected, and users are even advised to disconnect dApps for security reasons.

For developers who wish to integrate the WalletConnect functionality into their dApps running on Oil, we recommend using [this library](https://www.npmjs.com/package/@fuseio/walletconnect-web3-provider).


# Important smart contracts


# Oil Token


# Oil Dollar


# Major Deployed Contracts


# Bridges


# Ethereum ↔ Oil GoodDollar Token


# Ethereum ↔ Oil OIL20 Tokens


# BSC ↔ Oil BNB


# BSC ↔ Oil Native


# BSC ↔ Oil OIL20


# Ethereum ↔ Oil Native


# How to become a validator

The Oil network is operated by validator nodes that are hosted by network participants from all around the world. The network allows entrepreneurs to easily plug payments to their products and on-board their users to a platform that allows them to pay, transact and access financial services in their favorite currency.

All the access to the network is public and all the code is open source so it could be customized and localized to their needs. Any community that lives on the Oil chain needs to pay a small fee to the validators of the network to validate its transactions in the community.

The more communities and users conducting transactions, the more validators will earn as a reward for approving the transaction. This allows the network to grow organically as more usage in the system more network participants rewards grow.\\

### What it means to be a validator?

[Any entity that is holding the Oil token can run a node](https://github.com/oilscancoin/docs/blob/master/general-1/how-to-become-a-validator/broken-reference/README.md) that approves transaction in the network and in doing so receive rewards in the form of Oil token (OIL).

Validators are running special software that holds a copy of the Oil blockchain and validating transactions in the network.

Every 5 seconds, the network groups the latest transactions broadcasted to the system, validates them and signs them so they could never be changed in the future.

For this work the validators receive block reward (X per block). A yearly inflation of 5% is distributed between all validators (the block reward is updated to accommodate this functionality).

Validators are contributing their computer resources to maintain the network and need to have some technical knowledge in dealing with hosting this kind of software (see [Running a validator node](https://github.com/oilscancoin/docs/blob/master/general-1/how-to-become-a-validator/broken-reference/README.md)) and [participate in the network governance through voting](https://github.com/oilscancoin/docs/blob/master/general-1/how-to-become-a-validator/broken-reference/README.md).

Validators are the guardians of the network and are in charge of not only maintaining it but also to steer it in its future through the governance mechanism that allows any holder of Oil token to vote on important decisions and upgrades to the network in its development and resource allocation.

### Who should become a validator?

* **Companies who build on the network** - Oil open source stack allows many companies to collaborate on the same code-base.

  Allowing any company that is interested in using the Oil services and code to join as a stakeholder is a new innovative approach to collaboration and partnerships.

  Any company that builds products on the network can own a piece of it and become a stakeholder.

  Running a node in the process will allow the company to earn rewards and grow as the network grows.

  The company can also use this open-source infrastructure to save costs for their development needs.

  Operating a node gives reliable access to the network, participation in its governance and aligns all the different interest behind the operation of the network.
* **3rd party service providers** - We are starting to see many service providers creating and providing services across different blockchains. Services like KYC, exchanges, credit score providers, lenders, etc…

  Any service provider can become a stakeholder in the network and already today we are seeing the potential of cross-blockchain transactions uniting business processes between different entities using cryptography and without middlemen.
* **Community operators on Oil** - Community operators are the foremost stakeholders in the network and can upgrade themselves to a validator and thus provide better access to their clients.

### Who can become a validator (Technical requirements)

* See [*Running a validator node*](https://github.com/oilscancoin/docs/blob/master/general-1/how-to-become-a-validator/broken-reference/README.md)\_\_

### Who shouldn’t become a validator (and what can he still do)

* **Non technical users** - Running a node requires technical background in blockchain and web hosting. It’s not very complicated but also not trivial or basic.
* **Simple holders** - We are looking for validators who are invested in the future of the network and are looking to take an active part. This is what the DPoS (Delegated Proof of Stake) mechanism was born to do.

[You can delegate you Oil token to a validator](https://github.com/oilscancoin/docs/blob/master/general-1/how-to-become-a-validator/broken-reference/README.md) of your choosing. Not everybody that wants to earn rewards need to be a validator! Any token holder can delegate their Oil token to a validator to earn rewards through the validator.

### How to become a validator?

* Minimum of 200 tokens staked or delegated. In a DPoS blockchain it is required that all the validators have a staking requirement. The stake of 200 Oil tokens needs to be locked in a contract to be eligible to become a validator.
* Run a full node.


# Getting started as a validator

## Pre-requirements

In order to be a Oil validator, you first must see that you meet the pre-requirements:

* You know what it means to be a Oil validator - How to become a validator
* You have at least 200 OIL tokens or you will have an aggregated delegation of at least 200 OIL tokens.

## How to become a Oil validator

To quickly become a validator, follow this steps:

Read more at: <https://github.com/oilscancoin/CoinNetwork/tree/master/node-example>

For live support, contact us on [Telegram](https://t.me/) or [Discord](https://discord.gg/). Good luck and happy validating!


# Getting started as on the Oil testnet


# Advertise


# Explorer-as-a-Service


# API Plans


# Priority Support


# API Document


# Knowledge Base


# Network Status


# Staking

Delegate to OIL Scan (Staking)


# Brand Assets


# Terms & Privacy

Welcome to Oil Coin By accessing or using the Oil Coin website, dApps, or related services, you agree to the following Terms of Use. Please read them carefully.

**Eligibility**&#x20;

You must be at least 18 years old and not subject to restrictions under applicable laws to use Oil Coin services.

**No Financial Advice**

&#x20;Oil Coin provides information and tools but does not offer financial, investment, or legal advice. Users are responsible for their own decisions.

**Intellectual Property**&#x20;

All logos, trademarks, and content belong to Oil Coin. Unauthorized use, reproduction, or modification is prohibited.

**Use of Services**&#x20;

You agree not to use Oil Coin for illegal activities, including money laundering, terrorism financing, or sanctions evasion.

**Limitation of Liability**

Oil Coin is not liable for losses from market volatility, technical errors, or unauthorized third-party actions.

**Governing Law**

These Terms are governed by the applicable jurisdiction of Oil Coin’s incorporation.

**Privacy Policy**

Oil Coin is committed to protecting your personal information.

What We Collect

* &#x20;Basic data (email, wallet address) when you interact with our site or dApps.
* Analytics data (traffic, usage) to improve services.

How We Use It

* To provide access to dApps and community features.
* To communicate updates and security alerts.

What We Don’t Do

* We do not sell, rent, or trade your personal data.
* We do not track personal identity beyond what is required for security and compliance.

Security Measures

* We apply encryption, multi-sig protocols, and secure infrastructure to protect your information.

Your Rights

* You can request data deletion or modification at any time.


# Bug Bounty


# Cookies Notice

What Are Cookies?

Cookies are small files that improve your browsing experience on Oil Coin’s website.

Types We Use

* Essential Cookies: Required for site functionality.
* Analytics Cookies: Help us understand site traffic and improve user experience.

Control Your Cookies

You can disable cookies in your browser, but some features may not function properly.


# Risk Disclaimer

### Cryptocurrency Risks&#x20;

Trading and holding Oil Coin involves significant risk, including market volatility, liquidity shortages, and potential loss of value.

### No Guarantee&#x20;

Oil Coin is pegged to Brent crude oil, but price parity is not guaranteed in extreme market conditions.

### Regulatory Risks

Digital assets may be restricted or banned in certain jurisdictions. Users must comply with local laws.

### User Responsibility

By purchasing or holding Oil Coin, you acknowledge that you understand and accept these risks.


# Contact Us


# Founder and Investors

Who Are the Oil Smart Chain Founders?

It was established by founder and CEO Elizabeth Newman. After graduating from The University of EGE, Elizabeth returned to UK and worked for 3 years at XM,


# Team Profile

Core Team

The core development team consist of professionals with experts in:

* Blockchain architecture
* Smart contract engineering&#x20;
* Business development and strategy
* Community growth and marketing&#x20;

Each member contributes specialized skills to ensure the secure and sustainable growth to the  Oil Smart Chain ecosystem.


