Skip to content

jitendragangwar123/FractalShares

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 

Repository files navigation

Fractal Shares

Revolutionizing Asset Ownership Through Tokenization

Fractal Shares unlocks the potential of real-world assets by tokenizing them into secure, transparent, and tradeable fungible tokens. Our platform addresses the fundamental barriers to asset ownership and investment diversification by offering fractional ownership of high-value assets like real estate, artwork, and intellectual property. Investors can seamlessly buy, sell, and trade fractional shares, democratizing access to lucrative investment opportunities traditionally reserved for the wealthy.

cover-page

Project SetUp

$ git clone https://github.com/jitendragangwar123/FractalShares.git
$ cd FractalShares

To start the Back-end

$ cd server
$ npm i
$ npm start

To start the Front-end

$ cd client
$ npm i
$ npm run dev

cURL requests

1. createKeyPair
curl -X POST http://localhost:8000/createKeyPair -H "Content-Type: application/json" -d '{}'
2. generatePublicKey
curl -X POST http://localhost:8000/generatePublicKey -H "Content-Type: application/json" -d '{"secretKey": "YOUR_SECRET_KEY"}'
3. fundDIAMTokens
curl -X POST http://localhost:8000/fundDiamTokens -H "Content-Type: application/json" -d '{"publicKey": "YOUR_PUBLIC_KEY"}'
4. transferDIAMTokens
curl -X POST http://localhost:8000/transferDiamTokens -H "Content-Type: application/json" -d '{"senderSecretKey": "SENDER_SECRET_KEY",  "receiverPublicKey": "RECEIVER_PUBLIC_KEY", "amount": "50.0000000"}'
5. issueAssets
curl -X POST http://localhost:8000/issueAssets -H "Content-Type: application/json" -d '{"issuerSecret": "ISSUER_SECRET_KEY", "receiverSecret": "RECEIVER_SECRET_KEY", "amountLimit": "1000000.0000000", "assetName":"REALTY", "amount":"500.0000000" }'