Hosting a Digital Art Gallery on Openlaw & Ethereum

Ross Campbell
3 min readSep 26, 2019

--

Non-fungible tokens (NFTs) have captured the imaginations of many builders on Ethereum and others tinkering with features of digital scarcity. Among nifty properties, NFTs allow creators to list uniquely-identifiable tokens in a common registry, making it easier to digitally represent event tickets, goods, and other scarce items that may otherwise share some relation.

For example, if I was hosting a Digital Art Gallery and wanted to painlessly document ownership transfers between creators and patrons, I could associate each featured art piece with NFTs in a common registry for blockchain-recorded transactions 🖼️ 🏵️✨.

In order to assert a premium record of ownership between NFTs and associated images, I am also going to use OpenLaw to push signed legal representations and the unique hashes derived thereby straight into the minting of the NFTs themselves:

(1) FIRST, Register NFT Gallery:⚡ 🏵️

This simple OL form presents fields to program an NFT and “Host” that can control minting:

We are then prompted to sign off on the transaction . . .

NFT Transaction: https://rinkeby.etherscan.io/tx/0x1650c795559e2cc7952fb45a977139555b8745a70b20e81443e549dbd552a3ad

Done! We now have a mintable NFT smart contract that will allow us to generate more digital artifacts to fill out our Digital Art Gallery!

(2) SECOND, Mint NFT Gallery: 🖼️🖼️🖼️ 🏵️🏵️🏵️

Another OL form allows us to quickly mint new NFTs by providing the common NFT registry address (just created…), host info, and selecting an ID number (this ID and the OL hash will be stamped into new NFT smart contract!):

We can read OpenLaw IDs straight from NFT address!

It’s also neat to survey our tokens in a mobile wallet 📱:

fresh NFTs at hand 🤙

(3) Now, FINALLY, let’s make a sale of this NFT Gallery and put a bow on the whole thing: Host Digital Art Gallery:

filling out NFT Sale terms
Gallery Host and Patron can review legal context and execute Smart Contract TXs side-by-side!

And, here we are, 125,000 (Rinkeby) DAI are then transferred for 3 NFTs from the Gallery, all in 1–2 clicks between the Gallery Host and Patron:

Value Sent 💸

NFT Gallery (1–3) sent in one transaction: 🏵️ 🏵️ 🏵️

That’s it for today! 🎩

Now, there’s a bunch of other legal context goodies that could fill out these forms, and I’m hopeful that some enterprising dAppsters will reskin these forms in a snazzy Gallery/Market dapp 🎨 🤖

(until next time ✌️)

Source Code for NFT Factory: 🏭

Rinkeby: https://rinkeby.etherscan.io/address/0x085bd8fd7562ab6e5c0e53ffd1822469fff6c7c8#code

Mainnet: https://etherscan.io/address/0x3130bf7c433c2b25b3e30882fdd22e885cd6a56e#code

--

--