Russia could start testing its ‘digital ruble,’ a central bank digital currency (CBDC), in just a few weeks.

A bill granting legal authority to the central bank digital currency (CBDC) passed through the Federation Council, Russia’s higher legislative body, on Wednesday after previously working its way through the State Duma last week. The bill still requires President Vladimir Putin’s signature before coming into effect. If it is signed, tests of the CBDC will start from August 1.

Russia’s central bank will be granted the authority to act as the platform operator for the digital ruble if the legislation is enacted. The bill also provides legal definitions for users and how accounts with the bank are operated. 

Its economy continues to struggle after it launched a war against Ukraine last year. This law also arrives at a time when Russia’s ruble is being battered by the raft of Western sanctions since the start of its war in Ukraine have cut into its value. 

Under the bill, Russians will be able to make payments and transfers from their digital wallets that would be within the central bank's platform or one of the partner banks that it will be working with. However, the CBDC can only be used for payments or transfers—not lending or deposits, according to the central bank. 

Unlike a cryptocurrency like Bitcoin, a CBDC is a centralized token with a value tied to a national fiat currency. Critics of CBDCs argue that they carry major privacy risks, because of the level of visibility a government would be granted into private transactions. 

A CBDC is sometimes touted as a hedge against more volatile national currencies.  Today Russia's ruble is considered to be one of the worst performing currencies amid rising inflation on top of Western sanctions.