πŸͺ

Web3Front

Using this python notebook will allow you to get an idea of a store front that Solana Pay has enabled.

Just copy this into your drive

The Solana Pay allows me to deploy a simple website that I can host.

Our resting home page will be here.

https://solana-pay-ten.vercel.app/

In order to use the link we need to attach it or point it towards a wallet address, and then naming the store front.

We will create two input variables called wallet and store_name

#ENTER A MERCHANT WALLET ADDRESS
wallet = input()
#5tgrkwXPRPEzmtPbuzC8VfZJBS4P5w41RwDX1K89voic
store_name = input()
#nftpack

Now we need to format the url so we will just add a f object with the wallet.

url = "https://solana-pay-ten.vercel.app/new?recipient=" + f"{wallet}" + "&label=" + f"{store_name}"

We should see something that looks like this.

Type in a price

image

After clicking the Finish and Pay you will see this QR code.

image

Your transaction should only take a few moments

image

There we have it, a prototype of Web 3 store front.

Right now it is only SOL token based and on devnet. Looking to add a mainnet and USDC option as well.

Check out the github repo

Go to my next tutorial, where I show you how I use this to bring NFTs to real-world

✨NFT Trading Cards