Skip to content

abhaydee/Stackify-Assets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Stackify-Assets

Real-World Asset Tokenization Platform

Welcome to the Real-World Asset Tokenization Platform, a groundbreaking solution that bridges the gap between physical assets and the digital world of cryptocurrencies. Our platform enables users to commoditize their properties into tokens that can be utilized in real-world transactions and on our integrated trading platform.

Features

  • Asset Tokenization: Convert your physical properties into digital tokens.
  • Crypto Trading: Trade your tokens on our powerful and user-friendly trading platform.
  • Real-World Utilization: Use your tokens in real-world transactions, seamlessly integrating the physical and digital economies.
  • Secure and Transparent: Built on a robust blockchain infrastructure ensuring security and transparency.

Getting Started

Follow these steps to get started with our platform:

Prerequisites

In order to run Stackify-Assets and our Infinity Stacks Platform, you need the following software to be installed:

clarinet yarn node.js Docker

Installation

  1. Clone the repository:

    git clone https://github.com/abhaydee/Stackify-Assets
  2. Tokenize Assets: Use our intuitive interface to convert your physical properties into digital tokens.

  3. Trade Tokens: Access our integrated trading platform to buy, sell, or trade your tokens with other users.

  4. Utilize Tokens: Leverage your tokens for real-world transactions, enhancing the utility and value of your digital assets.

frontend

The frontend directory houses the Next.js-based web application for interacting with our Stackify-Assets and InfinityStacks platform.

  • App: Contains the main layout, styling, and page components. The trade sub-directory features components specific to trading functionalities.
  • Configuration: Files like next.config.js and tailwind.config.ts for project setup and styling.

scripts

Scripts folder containing populate-onchain-data.js script that populates on-chain price data and updates it every 2 minutes.

Stacks

This directory will also hold the neccessary infrstructure code for the RWA tokenization platform

Guidelines

Make sure you have all the infrastructure setup ready before attempting to run the code

Clarity Smart Contracts

All the smart contracts for the RWA tokenization platform are deployed on testnet of stacks blockchain

In order to run InfinityStacks, you need the following software to be installed:

Once these dependencies are on your computer, clone this repository. Then, navigate into the project root directory.

cd InfinityStacks

Running the local devnet

If Docker is not running, boot Docker up. Then, navigate to the contracts directory:

cd contracts

Install dependencies:

yarn

And run the local stacks devnet:

clarinet devnet start

This process may take some time on the first try. Once your local devnet has started and block 5 is mined, navigate to the scripts folder in a new terminal window:

cd InfinityStacks/scripts

Install dependencies:

yarn

And run the on-chain data script:

node ./populate-onchain-data.js

You should see some output like this:

Adding mock feeds on-chain (nonce: 5).
33a6d748793c2db48b9f3eda3e7951e2ffd54fa44b47ec6c22d7e68d9deeee93 {
  txid: '33a6d748793c2db48b9f3eda3e7951e2ffd54fa44b47ec6c22d7e68d9deeee93'
}
Setting supported feeds for InfinityStacks on-chain (nonce: 6).
89071c42b00778d3434066eb1081a16c981b1288d19883c49f7c0775767a0237 {
  txid: '89071c42b00778d3434066eb1081a16c981b1288d19883c49f7c0775767a0237'
}

You can double check in your local devnet console that two new transactions have been added to the mempool and are being processed.

Once you have populated on-chain data in your local stacks devnet instance, navigate to the frontend directory:

cd InfinityStacks/client

Install dependencies:

yarn

And run the frontend:

yarn dev

You should then be able to navigate to localhost:3000 and start using the Dapp!

Contributing

Contributions to InfinityStacks are welcome! Please get in touch or open a pull request to contribute.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published