logo

Blockchain Based Transaction System with NFT

PDF Publication Title:

Blockchain Based Transaction System with NFT ( blockchain-based-transaction-system-with-nft )

Previous Page View | Next Page View | Return to Search List

Text from PDF Page: 013

Sensors 2021, 21, 3822 13 of 32 Algorithm 9 Bid on a FT 1: functionBIDFT(idstring) 2: token ← ReadToken(id) 3: if token.NotForSale == true then 4: return “Token ID is not for sale” 5: end if 6: if token.AvailableAssets < bidvalue then 7: Return “Available value token.AvailableAssets is less than bid bidvalue” 8: end if 9: bidderclient ← GetClientIdentity().GetID() 10: if token.Bidmap[bidderclient]! = nil then 11: token.Bidmap[bidderclient] ← existingval + bidvalue 12: else 13: token.Bidmap[bidderclient] = bidvalue 14: end if 15: token.AvailableAssets = token.AvailableAssets − bidvalue 16: tokenJSON ← json.Marshal(token) 17: PutState(id, tokenJSON) 18: endfunction 3.4.3. Transfer a FT ◃ Saving updated token ◃ Calling Algorithm 2 Algorithm 10 for transferring a FT, first reads the token using Algorithm 2 and verifies that the invoker client is the owner of the token being transferred. Then for each bid in the bid hashmap, it processes the value transfer to the buyer, using Algorithm 8. If the token for the buyer exists already, it is updated with the transferred value. Otherwise a new token is created for the buyer and a key level endorsement policy is set. The processed bid is now removed from the map. When all the bids have been processed and deleted, finally, it updates the token that was being transferred with the newly empty bid field into the state. As the value of available energy assets on the token is reduced by the value of the bid whenever a bid is placed, as explained in Section 3.4.2, the count of available assets on the token already reflects the value after deducting the bid amounts. Algorithm 10 Transfer a FT 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: functionTRANSFERFT(idstring) token ← ReadToken(id) invokerclient ← GetClientIdentity().GetID() if invokerclient != token.Owner then ◃ Calling Algorithm 2 return “The client invokerclient is not authorized to transfer token owned by token.Owner” end if for key, value ← range(token.Bidmap) do CreateToken(token.TokenType, TRUE, key, value) delete(token.Bidmap, key) end for tokenJSON ← json.Marshal(token) PutState(id, tokenJSON) endfunction ◃ Calling Algorithm 8 ◃ Save updated token after transfers 3.4.4. Redeem a FT Tokens in the FT implementation work like accounts, so when a FT is redeemed, some or all of the available energy assets may be redeemed, but the token itself not deleted as is the case for the NFT implementation described in Section 3.3.4. The Algorithm 11 for redeeming FT begins by reading the token using Algorithm 2 and checking that the invoker client owns the token and that the requested redeem amount is not greater than the total

PDF Image | Blockchain Based Transaction System with NFT

blockchain-based-transaction-system-with-nft-013

PDF Search Title:

Blockchain Based Transaction System with NFT

Original File Name Searched:

sensors-21-03822-v2.pdf

DIY PDF Search: Google It | Yahoo | Bing

NFT (Non Fungible Token): Buy our tech, design, development or system NFT and become part of our tech NFT network... More Info

IT XR Project Redstone NFT Available for Sale: NFT for high tech turbine design with one part 3D printed counter-rotating energy turbine. Be part of the future with this NFT. Can be bought and sold but only one design NFT exists. Royalties go to the developer (Infinity) to keep enhancing design and applications... More Info

Infinity Turbine IT XR Project Redstone Design: NFT for sale... NFT for high tech turbine design with one part 3D printed counter-rotating energy turbine. Includes all rights to this turbine design, including license for Fluid Handling Block I and II for the turbine assembly and housing. The NFT includes the blueprints (cad/cam), revenue streams, and all future development of the IT XR Project Redstone... More Info

Infinity Turbine ROT Radial Outflow Turbine 24 Design and Worldwide Rights: NFT for sale... NFT for the ROT 24 energy turbine. Be part of the future with this NFT. This design can be bought and sold but only one design NFT exists. You may manufacture the unit, or get the revenues from its sale from Infinity Turbine. Royalties go to the developer (Infinity) to keep enhancing design and applications... More Info

Infinity Supercritical CO2 10 Liter Extractor Design and Worldwide Rights: The Infinity Supercritical 10L CO2 extractor is for botanical oil extraction, which is rich in terpenes and can produce shelf ready full spectrum oil. With over 5 years of development, this industry leader mature extractor machine has been sold since 2015 and is part of many profitable businesses. The process can also be used for electrowinning, e-waste recycling, and lithium battery recycling, gold mining electronic wastes, precious metals. CO2 can also be used in a reverse fuel cell with nafion to make a gas-to-liquids fuel, such as methanol, ethanol and butanol or ethylene. Supercritical CO2 has also been used for treating nafion to make it more effective catalyst. This NFT is for the purchase of worldwide rights which includes the design. More Info

NFT (Non Fungible Token): Buy our tech, design, development or system NFT and become part of our tech NFT network... More Info

Infinity Turbine Products: Special for this month, any plans are $10,000 for complete Cad/Cam blueprints. License is for one build. Try before you buy a production license. May pay by Bitcoin or other Crypto. Products Page... More Info

CONTACT TEL: 608-238-6001 Email: greg@infinityturbine.com | RSS | AMP