Skip to content

icolomina/solidity-contracts

Repository files navigation

tests status

Solidity Contracts

==========================

Overview

This repository contains a set of solidity smart contracts. Each of the contracts represents a specific situation and they can serve as a basis for developing more complex contracts or a decentralized application based on them.

Warning

These contracts are educational examples and have not been tested or audited. They are useful for learning and should not be used in production without professional auditing. Please refer to the license for more information.

Compile the contracts

npm install
npx hardhat compile

Testing the contracts

npx hardhat test

Deploying the contracts

You can deploy the contracts using the hardhat local node. The scripts folder contains a deploy script for each contract. You can execute them as shown bellow:

 npx hardhat run scripts/house_swap/deploy.ts
 npx hardhat run scripts/mortgage/deploy.ts
 npx hardhat run scripts/pay_order/deploy.ts
 npx hardhat run scripts/pledge_loan/deploy.ts

Contracts information

  1. House Swap
  2. Payment Orders
  3. Mortgage Token
  4. Event entrances

About

This repository contains a set of solidity smart contracts. Each of the contracts represents a specific situation and they can serve as a basis for developing more complex contracts or a decentralized application based on them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors