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

Sensors 2021, 21, 3822 12 of 32 Algorithm 8 Create a FT 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: functionCREATEFT(tokentypestring,creatingfortransferbool,buyerstring,available- assets int) invokerorg ← GetClientIdentity().GetMSPID() invokerclient ← GetClientIdentity().GetID() test ← tokentype + “_” + ownerorg 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 id ← buyer + “_” + tokentype owner ← buyer else id ← invokerclient + “_” + tokentype owner ← invokerclient end if token ← ReadToken(id) if token! = nil then ◃ Calling Algorithm 2 token.AvailableAssets ← token.AvailableAssets + availableassets tokenJSON ← json.Marshal(token) PutState(id, tokenJSON) else tokennew ← NewToken(ID ← id,TokenType ← tokentype, AvailableAssets ← availableassets, Owner ← owner) tokenJSON ← json.Marshal(tokennew) PutState(id, tokenJSON) SetTokenStateBasedEndorsement(tokennew.ID, ownerorg, endorserorg) end if endfunction ◃ Calling Algorithm 1 3.4.2. Bid on a FT Algorithm 9 for bidding on a FT accepts the ID of the token as well as the number of energy assets in the bid. It reads the token using Algorithm 2 and checks if the token is available for sale and that the number of energy assets in the bid do not exceed the value of the token. If the same buyer has bid on the token before, the new bid value is added to the old bid value in the existing key value pair of the hashmap. If this is a new buyer, a new key value pair is created in the hashmap to accept the bid, where the key is the client identity and value is the amount of the bid. Finally, the count of available assets in the token is reduced by the amount of the bid and the updated token is committed to the state.

PDF Image | Blockchain Based Transaction System with NFT

blockchain-based-transaction-system-with-nft-012

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