Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prototyping canonical SolanaTBTC token with the Solang compiler #649

Closed
wants to merge 3 commits into from

Conversation

dimpar
Copy link
Contributor

@dimpar dimpar commented Jul 7, 2023

WIP

Solang compiles Solidity code that can be run on Solana blockchain.
SolanaTBTC contract uses the spl_token lib which is ERC20 equivalent on
Solana. There were a couple of functionalities added to match L2TBTC.sol
contract that was deployed to Arbitrum, Optimims and Polygon. However,
the contracts that are on L2s do not match 1:1 with this one. E.g. there
is no 'recoverERC20' function. Upgrade and pause (freeze) functionality
should work out of the box on Solana, hence there are no functions
written for it.

setup.ts was largely copied from Solang official repository.
@dimpar
Copy link
Contributor Author

dimpar commented Aug 30, 2023

Closing as it was replaced by #650

@dimpar dimpar closed this Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant