mjohnson518 / Carbon12

6 stars 0 forks source link

carbon tracking art market? #33

Open brossetti1 opened 3 years ago

brossetti1 commented 3 years ago

mint 721s and wrap them in a 998 portfolio - generate art based on the transaction hash of the 998 through the [proof of bueaty platform]()

example grabing the pob gene variable based on the transaction hash:

> curl https://hash.pob.studio/api/saga/prerender?hash=0x04cb59fc5c0aba2140b3ed4e8c6f88d8b0df1c290c6d2fff58331aeb7046a65e

{"statusCode":200,"gene":{"seed":"0x04cb59fc5c0aba2140b3ed4e8c6f88d8b0df1c290c6d2fff58331aeb7046a65e","composition":{"numCircles":3,"circleRange":[2,7],"pointilism":0.0514471},"foreground":{"gapSize":0.004360139320722474,"dotBounds":[0.00003,0.0027522716754088245],"pointilism":3,"colors":["#FFFFFF","#C6362E","#97A5C0","#20304D"],"colorSeed":77827},"hash":"0x04cb59fc5c0aba2140b3ed4e8c6f88d8b0df1c290c6d2fff58331aeb7046a65e","blockNumber":13195556,"leadingZeros":1,"gasPriceInGwei":81,"gasUsed":458454,"gasLimit":674128,"valueInEth":0,"nonce":58,.........}}}}}}}

the library to generate the art is in their open repo under sketches library

the gene is passed into different Cards they have in the main app repo - along with the height and width of the window. https://github.com/proofofbeauty/gateway/blob/master_public/app/components/card.tsx#L271

cna maybe use this stuff to make a two sided display of the nft - the back can be a piece of art based on the the transaction hash of the 998 that holds all the erc721s, with the front being the qr code

you could do the flip annimations with something like this:

https://github.com/AaronCCWong/react-card-flip Demo: https://aaronccwong.github.io/react-card-flip/

in the future - you could build into the proof of bueaty platform, mint pieces of art that are essentially generated from the carbon emissions of a supply chain - and sell them?? to fund money into carbon capture technologies,etc weird world.

based on trasnaction hash 0x77cd4f6aa197397d43ab81a057d9a50f6123c0e9b95ef8a3ab8380a6e92b7a3a

Screen Shot 2021-09-09 at 10 02 28 PM

MrDeadCe11 commented 3 years ago

interesting. would there be an easy way to interpret the data from the generative art?

brossetti1 commented 3 years ago

nah the art is just generated from the transaction hash (it looks at the platforms being used in the transaction - i saw they had code for uniswap, sushiswap, etc - pretty cool - the 998's would proabably be generic art but still super cool