/amshah

A fractionalization project created under, buildspace (n&w s4)

Primary LanguageJavaScriptMIT LicenseMIT

amshah

A fractionalization project created under, buildspace (n&w s4)

Journey

The name ‘Amshah’ is a Sanskrit word for ‘excerpt/fraction’ and the project is about NFT fractionalization. It started in a cohort and has been in progress since then.

The tech stack used for the project is ReactJs for frontend, NestJs for backend, and truffle for smart contract deployment (However, with the discontinued support for Truffle I’m exploring Hardhat).

The current implementation allows an NFT holder to fractionalize their NFTs on the supported chain to be fractionalised.

Here, fractionalization defines transferring the ownership of the ERC-721 token from the holder to the fractionalization contract.

In return, the fractionalizer receives Amshah (AMSH), an ERC-20 token. The tokenomics is not yet configured and the amount of native token received and the price of the NFT if sellable, are set by the fractionalizer.

Details

  • Tech Stack: ReactJS (frontend);
    NESTJS (backend);
    Truffle, Remix (Contract management and deployment)
  • Supported Blockchain: Polygon Mumbai (Testnet)
  • Contract Address:
  • GitHub: https://github.com/amshah

Initializing

$ git clone https://github.com/amshah code

$ cd code

Note: more about truffle react box used as a template, here

Start the react frontend:

$ cd client
$ npm start

Build with Truffle and Webpack

Start the Nest backend:

$ cd server
$ npm start

This starts the ReactJS client and the NestJS server.

Sample screenshots:

Wallet not connected

Screenshot 2023-10-08 025102

Connecting the Wallet using WalletConnect

Screenshot 2023-10-08 025115

Wallet connected but unsupported chain selected

Screenshot 2023-10-08 025140

Switching to supported chain #1

Screenshot 2023-10-08 025157

Switching to supported chain #2

Screenshot 2023-10-08 025214

Wallet connected and owned NFTs displayed to be fractionalized

Screenshot 2023-10-08 025231