lightchain
lightchain copied to clipboard
Overwrite web3 api layer to replace usages of ETH by PHT
Due to the usage of the go-ethereum web3 api code we still can see method such as web3.utils.toWei('1', 'ether');
and which need to be updated to use pht
instead of eth
.
The goal of this task is to overwrite the web3 api to include the usage of PHT in the places where ETH is used.