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: 009

Sensors 2021, 21, 3822 9 of 32 Algorithm 3 Create a NFT 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: functionCREATENFT(tokentypestring,creatingfortransferbool,buyerstring,avail- ableassets int) invokerorg ← GetClientIdentity().GetMSPID() invokerclient ← GetClientIdentity().GetID() test ← tokentype + “_” + invokerorg switch test “EUnit_Org1MSP”or“EVUnit_Org1MSP” endorserorg = “Org3MSP” “InUnit_Org2MSP”or“GaUnit_Org2MSP” endorserorg = “Org1MSP” “StUnit_Org3MSP”or“EStUnit_Org3MSP” endorserorg = “Org1MSP” Default: “Invoker Organization and Token Type combination invalid” if creatingfortransfer == true then idval ← buyer + “_” + tokentype + “_” + GetTxID() owner ← buyer else idval ← invokerclient + “_” + tokentype + “_” + GetTxID() owner ← invokerclient end if tokennew ← NewToken(ID ← idval,TokenType ← tokentype, AvailableAssets ← availableassets, Owner ← owner) tokenJSON ← json.Marshal(tokennew) PutState(idval, tokenJSON) ◃ Saving new token SetTokenStateBasedEndorsement(tokennew.ID,invokerorg,endorserorg) endfunction ◃ Calling Algorithm 1 3.3.2. Bidding on a NFT Algorithm 4 illustrates how a buyer can bid upon a token of their choosing. The re- quested token is read using Algorithm 2 and checked if it is for sale and that there is no bid on this token already. If there is no bid, then the algorithm updates the bid field with the client identity of the buyer and commits it to state. As the token must be purchased in its entirety, there is no mention of the amount of energy assets in the bid. Algorithm 4 Bid on a NFT 1: functionBIDNFT(idstring) 2: token ← ReadToken(id) 3: if token.NotForSale == true then 4: return “Token ID not for sale” 5: end if 6: bidderclient ← GetClientIdentity().GetID() 7: if token.Bid == “” then 8: token.Bid = bidderclient 9: else ◃ Calling Algorithm 2 10: return “There is already a bid on this token by token.Bid” 11: end if 12: tokenJSON ← json.Marshal(token) 13: PutState(id, tokenJSON) 14: endfunction ◃ Saving updated token

PDF Image | Blockchain Based Transaction System with NFT

blockchain-based-transaction-system-with-nft-009

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