Coder Social home page Coder Social logo

opcode-open-spring-fest / net_worth_mate Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 39 KB

"Net Worth Mate" is designed as a comprehensive asset management platform that offers users a robust set of tools to manage and evaluate their financial holdings.

JavaScript 3.16% Solidity 96.84%
blockchain iiitbh open-spring-fest smart-contracts solidity type-easy

net_worth_mate's Introduction

Net_Worth_Mate

Introduction โœจ

"Net Worth Mate" is designed as a comprehensive asset management platform that offers users a robust set of tools to manage and evaluate their financial holdings.

Technologies Used ๐Ÿง‘โ€๐Ÿ’ป

  • Solidity

Contact ๐Ÿ“ฑ

If you have any questions or feedback, please reach out to us at [email protected] or [email protected] ๐Ÿ“ง

Setup

To set up Net_Worth_Mate on your local machine, follow these steps:

  1. Fork the repository:

    • Click the "Fork" button at the top right corner of this repository's page on GitHub. This will create a copy of the repository in your GitHub account.
  2. Clone the forked repository:

git clone https://github.com/<yourusername>/net_worth_mate.git
  1. Navigate to the project directory:
cd net_worth_mate
  1. Install Node.js dependencies(make sure node is installed on your laptop):
npm i
  1. Open the contract folder and copy all the contents of the net_worth_mate.sol file and paste it on remix (or you can use VS Code but remix ide is recommended). Remix ide(link) : http://lnkiy.in/Remix_ide
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push to the branch.
  5. Submit a pull request with the issue number.

You are good to go to make your contribution!! All the best!.

net_worth_mate's People

Contributors

mishrasomesh001 avatar shobhit15082003 avatar xtwo56 avatar

Forkers

xtwo56

net_worth_mate's Issues

[Feature]:

So, what is it about?

Asset Management Smart Contract

1. Enter Assets Function:

  • Allows a user to enter their asset details such as house cost, jewellery cost, cars cost, land cost, and cash cost.
  • Calculates the total worth and stores it.

2. View Own Assets:

  • Only the owner of the assets can view their details.

3. Check Worth Function:

  • Enables a user to check the total worth of their assets.

4. Update Details Function:

  • Allows the owner to update their asset details.

5. Sell Function:

  • Allows the owner to sell assets.
  • Checks are performed to ensure that the owner has sufficient assets to sell.

6. Buy Function:

  • Enables the owner to buy assets from outside.

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Feature]: Create a function to set a broker.

So, what is it about?

Create a function so that the user can set any address as it's broker(only one address ) . This broker can now sell any asset on behalf of the user. Also a portion of the sell i.e. commission goes to the broker(3%).

Note: Update the assets of the broker and the user.

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Feature]: Create a function to sell.

So, what is it about?

Create a function with appropriate modifiers so that the user can sell his assets according to his choice .
Input : (seller's address, thing to be sold(string)(ex: house), uint amt(the cost of that product))

Note: Accordingly update the cash of the seller and the buyer.

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Feature]: Set limit on the broker

So, what is it about?

Create a function so that the user can set limit on the broker as to what he can sell and at a maximum of what degree .This function allows for more control over the broker's actions and prevents unauthorized sales beyond specified limits.
Input type: (name of the asset, uint cost of the asset)

Note: Update the assets of the broker and the user.

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Feature]: Create a function to enter and view asset details.

So, what is it about?

Create a function with appropriate modifiers so that the user can enter their asset details i.e.. cost of their house, jewelry, automobiles(cars, motorbikes, yacht, etc.), cash, miscellaneous. Store these details in the structure and then map it with their address. And then also create a function so that a person can view his assets (without taking any input )

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Feature]: Create a function to buy from outside the contract.

So, what is it about?

Create a function with appropriate modifiers so that the user can buy some assets from outside the contract (suppose from a shop) .
Input : (thing to be bought(string)(ex: house), uint amt(the cost of that product))

Note: Accordingly update the cash and asset of the user.

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Feature]:

So, what is it about?

Additional Functions

7. Set Broker Function:

  • Allows the owner to set a broker for their assets.
  • The broker will be responsible for managing the selling and buying of assets on behalf of the owner.

8. Set Limit Function:

  • Enables the owner to set limits on what the broker can sell and for how much.
  • This function allows for more control over the broker's actions and prevents unauthorized sales beyond specified limits.

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Feature]: Create a function to update his asset details

So, what is it about?

Create a function with appropriate modifiers so that the update his asset details i.e.. cost of their house, jewelry, automobiles(cars, motorbikes, yacht, etc.), cash, miscellaneous.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.