Skip to content

dominant-strategies/hardhat-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hardhat-example

hardhat-example provides a simple smart contract deployment framework using the Hardhat development kit on Quai Network using either Solidity or SolidityX.

Solidity vs. SolidityX

You can deploy smart contracts to Quai Network using either regular Solidity or the Quai Network specific SolidityX. The primary difference between the two is that SolidityX supports additional cross-chain features. You can read more about the differences between Solidity and SolidityX here.

How do I choose which one to use?

Solidity:

  • Recommended for developers new to Quai Network
  • Single chain deployments without cross-chain functionality
  • Easier to use, deploy, and test + compatible with existing Solidity tooling
  • Supports any previously existing Solidity compiler version
  • Can utilize pre-existing Solidity contract libraries like @openzeppelin/contracts.
  • Recommended for most use cases

SolidityX:

  • Recommended for more advanced developers looking to experiment with cross-chain functionality
  • Enables cross-chain contract deployments
  • Requires a different compiler and additional configuration (more difficult to configure)
  • Not compatible with pre-existing Solidity contract libraries.
  • Will be forward compatible with dynamic scaling events

Start Developing

To get started with Solidity contract deployments, navigate to the Solidity directory and checkout the Solidity directory README.md.

To get started with SolidityX contract deployments, navigate to the SolidityX directory and checkout the SolidityX directory README.md.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •