Qubits [Smart Contracts] https://0xqubits.com
This repository contains a collection of smart contract contracts that can be used to spit up ownership of Non fungible tokens(NFTs).
For example, you might own an nft for a song or a painting and you want to split the ownership between you and somebody else.
In order to do that, you can just send your token to Qubits smart contract and once we have ownership of your tokens, you can call
the splitTokenOwnership
function of the smart contract to split the ownership between yourself and other parties and that's it.
If any third party subsequently wants to verify who owns what token, they can just go to the qubits app and enter the original nft's smart
contract address and we reveal the current token owners, what portion they have and how it got passed down to them.
You can interact with the smart contracts at https://0xqubits.com
- create a file named
env
following the env.example file in this directory - source env: $
source source.sh
- package installation: $
npm install
- test: $
npx hardhat test
- deployment: $
npx hardhat run scripts/deploy.js --network <network>
note:
available networks can be found inhardhat.config.js
- update deployment scripts
- rewrite and reorganize tests using Foundry
Say hi @ https://twitter.com/0xCredence
mailto: [email protected]