Skip to content

Commit

Permalink
Add support for Solidity using the Solang compiler
Browse files Browse the repository at this point in the history
anchor init and anchor new have a new option `-s` (or `--solidity`) which
creates an example using Solidity in the soldity directory of the
anchor workspace.

anchor deploy/build/test work accordingly.

solang is required to be in the path, this can be downloaded from the
release at https://github.com/hyperledger/solang

anchor build/deploy finds all the solidity contracts by using the
solidity parser to find all contract declarations.
  • Loading branch information
seanyoung committed Apr 4, 2023
1 parent fbd0688 commit 36421ad
Show file tree
Hide file tree
Showing 6 changed files with 1,059 additions and 68 deletions.
Loading

0 comments on commit 36421ad

Please sign in to comment.