Skip to content

Instantly share code, notes, and snippets.

View Dexaran's full-sized avatar

Dexaran Dexaran

View GitHub Profile

Dex223 development report (4/4/2024)

This article is a development report of a Dex223 decentralized exchange.

We’re building an exchange to speed up adoption of the ERC-223 token standard. ERC-223 was created to solve a security problem in the older ERC-20 standard. Security issue of ERC-20 caused $200M losses on Ethereum in 2023.

Take a look at other Dex223 development reports.

Legal details finalized & exchange listing documents are ready

Dex223 development report (3/4/2024)

Core smart-contracts

Updating libraries

https://github.com/Uniswap/v3-periphery/blob/main/contracts/base/SelfPermit.sol#L4-L5 The original Uniswap V3 contracts were written quite some time ago and they require solidity compiler version to be strictly 0.7.6. However, as some contracts relied on imports from OpenZeppelin's github repo (which is now upgraded) if you would just take the code from https://github.com/Uniswap/v3-periphery repo and try to compile it with Remix - it would just fail.

Restoring compatibility turned in a cumbersome task of searching for the codes compatible with the version required by Uniswap at the time of its creation. This was done and there is the code that does actually compile with Remix as of today:

Dex223 development report (2/8/2024)

This report is a raw copy of the one originally published on Medium. It will be here until we fight the platform that suspended our account without any evident reason.

Pre-sale round 2 is completed

We have successfully sold out our pre-sale tokens, the round completion report can be found here.

Long story short: we have enough funds to cover all our marketing expenses and development of the MVP.

Dex223 pre-sale round 2 completion report.

Token sale

Dex223 pre-sale round 2 was successfully completed on Jan 6. We sold out all the allocated tokens (160,000,000 D223).

A total of $174,000 were raised during this round including the private sale (39.54 ETH, 58800 USDT, 14000 USDC / find a complete financial report here). The development of the exchange will be continued as planned as we have enough funds to complete the first version.

Advertisement activity

Dex223 development report (12/2/2023)

This article is a development report of a Dex223 decentralized exchange.

We’re building an exchange to speed up adoption of the ERC-223 token standard. ERC-223 was created to solve a security problem in the older ERC-20 standard. Security issue of ERC-20 caused $200M losses on Ethereum in 2023.

Take a look at Dex223 development reports.

Partnership with EOS Support

Dex223 development report (11/2/2023)

Dex223 media

We will use Callisto media to publish Dex223 news and updates for now. This will also allow us to drive the traffic from general announcements (on Ethereum or general crypto media) directly to Callisto Network media.

ERC-223 <-> ERC-20 token converter

EIP is submitted. There is an ongoing process of separating EIPs and ERCs on Ethereum. Token Converter will be classified as ERC and therefore needs to be moved to their new repo.

Falsehoods that Ethereum programmers believe

I recently stumbled upon Falsehoods programmers believe about time zones, which got a good laugh out of me. It reminded me of other great lists of falsehoods, such as about names or time, and made me look for an equivalent for Ethereum. Having found none, here is my humble contribution to this set.

About Gas

Calling estimateGas will return the gas required by my transaction

Calling estimateGas will return the gas that your transaction would require if it were mined now. The current state of the chain may be very different to the state in which your tx will get mined. So when your tx i

ERC-20 approve & transferFrom asset transfer method poses a threat to users’ funds safety.

ERC-20 is the oldest (and the first) Ethereums “token standard” — a documentation of a template of a token that everyone can use to create new tokens.

ERC-20 defines two methods of transferring tokens:

  • transfer function — a “push” transaction of a token.

  • approve function that authorizes someone to perform a “pull transaction” by calling a transferFrom function afterwards.

VaultSX hack: lessons learned and other thoughts

The main topics of the article are:

  • a brief overview of what happened to VaultSX
  • a process of negotiating with hackers
  • a few tips for how to act if you are a hacker
  • a number of concepts that could prevent such an accident in the future
  • a couple of tips for users to consider