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

Commits on Jul 7, 2023

  1. Prototyping canonical SolanaTBTC token with the Solang compiler

    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 committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    3f6cea1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1afd002 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6364e4a View commit details
    Browse the repository at this point in the history