feat: setup store
This commit is contained in:
parent
312d1e35a4
commit
d1f8bb0572
|
@ -0,0 +1 @@
|
|||
REACT_APP_STORE_OWNER_ADDRESS_ADDRESS=CduMjFZLBeg3A9wMP3hQCoU1RQzzCpgSvQNXfCi1GCSB
|
|
@ -44,7 +44,7 @@
|
|||
"test": "craco test",
|
||||
"eject": "react-scripts eject",
|
||||
"deploy:ar": "arweave deploy-dir ../../build/web --key-file ",
|
||||
"deploy": "gh-pages -d ../../build/web --repo https://github.com/solana-labs/oyster-meta",
|
||||
"deploy": "gh-pages -d ../../build/web --repo https://github.com/fordudesake/metaplex",
|
||||
"format:fix": "prettier --write \"**/*.+(js|jsx|ts|tsx|json|css|md)\""
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
squidstuff.com
|
|
@ -0,0 +1,7 @@
|
|||
<svg height='300px' width='300px' fill="#FF34C9" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" version="1.1" style="shape-rendering:geometricPrecision;text-rendering:geometricPrecision;image-rendering:optimizeQuality;" viewBox="0 0 333 333" x="0px" y="0px" fill-rule="evenodd" clip-rule="evenodd"><defs><style type="text/css">
|
||||
|
||||
.str0 {stroke:black;stroke-width:6.94488;stroke-linecap:round;stroke-linejoin:round}
|
||||
.fil0 {fill:none}
|
||||
.fil1 {fill:#FF34C9}
|
||||
|
||||
</style></defs><g><path class="fil0 str0" d="M-247 -1603c-54,-7 -118,-9 -160,-34 -23,-14 -41,-34 -50,-66 -8,-32 17,-44 27,-47 10,-3 97,-20 160,-50 135,-64 215,139 137,250 0,0 70,93 90,227 0,0 10,80 -117,86 0,0 -197,4 -167,-173 0,0 10,-93 80,-153l0 -40z"></path><path class="fil0 str0" d="M-129 -1223c0,0 96,-13 101,-89 0,0 76,219 -24,314 -99,96 -261,20 -261,-109 0,0 9,-73 74,-87 -143,214 288,257 110,-29z"></path><path class="fil0 str0" d="M-237 -1830l34 -67c0,0 310,40 120,384l-14 -50c0,0 94,-264 -140,-267z"></path><ellipse class="fil0 str0" transform="matrix(0.953026 -0.302889 0.302889 0.953026 -243.335 -1743.33)" rx="30" ry="13"></ellipse><path class="fil0 str0" d="M560 -1567c-37,-236 362,-291 490,-120 197,264 -474,208 -490,120z"></path><path class="fil0 str0" d="M947 -1467c0,0 26,-43 46,4 0,0 -3,203 114,250 0,0 18,51 -27,40 -53,-14 -123,-100 -133,-294z"></path><path class="fil0 str0" d="M870 -1467c0,0 27,-39 53,0 0,0 5,172 30,207 25,35 84,117 44,203 0,0 -30,40 -50,-6 0,0 30,-70 -10,-124 -40,-53 -67,-143 -67,-280z"></path><path class="fil0 str0" d="M1667 -1513c0,0 -124,-94 -17,-307 107,-213 17,80 33,97 17,16 57,40 57,70 0,30 18,25 -26,140l-47 0z"></path><path class="fil0 str0" d="M1707 -1727l40 44c0,0 20,-57 -14,-107 0,0 -4,58 -26,63z"></path><path class="fil0 str0" d="M1675 -1488l40 -12c0,0 30,18 30,42l-3 43c0,0 -70,-23 -67,-73z"></path><path class="fil0 str0" d="M1780 -1570c0,0 30,-60 47,-167 0,0 28,123 46,170 51,-13 52,64 17,64 0,0 23,43 10,130l23 -10 50 43c0,0 10,27 -16,20l-37 -33 -20 13 0 30 13 -7 54 44c0,0 -4,30 -24,16l-33 -33 -20 17 -2 23 12 -3 50 46c0,0 -3,27 -20,14l-37 -30 -16 13c0,0 3,23 -24,70 0,0 60,45 70,72 10,26 -3,20 -11,23 -9,3 -55,-12 -49,48 0,0 -10,32 -36,32 -27,0 -37,-33 -37,-33 0,0 10,-55 -53,-42 0,0 -27,0 -7,-30 20,-30 68,-70 68,-70l-21 -73 -17 -14 -40 35c0,0 -23,9 -15,-16l45 -45 17 3 -2 -23 -22 -17 -38 33c0,0 -20,12 -17,-15l49 -48 20 13 0 -35 -22 -11 -38 31c0,0 -24,9 -15,-16l46 -45 29 13c0,0 -13,-73 6,-130 -47,-13 -33,-83 17,-70z"></path><path class="fil0 str0" d="M1993 -1513c0,0 124,-94 17,-307 -107,-213 -17,80 -33,97 -17,16 -57,40 -57,70 0,30 -18,25 26,140l47 0z"></path><path class="fil0 str0" d="M1953 -1727l-40 44c0,0 -20,-57 14,-107 0,0 4,58 26,63z"></path><path class="fil0 str0" d="M1985 -1488l-40 -12c0,0 -30,18 -30,42l3 43c0,0 70,-23 67,-73z"></path><circle class="fil0 str0" cx="1767" cy="-1537" r="13"></circle><circle class="fil0 str0" cx="1878" cy="-1537" r="13"></circle><path class="fil0 str0" d="M1754 -1393l148 0c0,0 -79,53 -148,0z"></path><path class="fil0 str0" d="M1757 -1307c0,0 80,27 143,-3 -19,57 -128,47 -143,3z"></path><path class="fil0 str0" d="M1767 -1250c0,0 60,20 121,0 -13,49 -109,46 -121,0z"></path><path class="fil0 str0" d="M700 -1467c0,0 -26,-43 -46,4 0,0 3,203 -114,250 0,0 -18,51 27,40 53,-14 123,-100 133,-294z"></path><path class="fil0 str0" d="M777 -1467c0,0 -27,-39 -53,0 0,0 -5,172 -30,207 -25,35 -84,117 -44,203 0,0 30,40 50,-6 0,0 -30,-70 10,-124 40,-53 67,-143 67,-280z"></path><path class="fil1" d="M201 183c83,-14 -20,-147 -45,-163 -10,-7 -126,134 -46,164l11 1 -1 12c0,0 -41,37 -71,4 0,0 -22,-2 -13,16 0,0 27,39 86,6 0,0 -20,29 -50,40 0,0 -16,15 5,21 0,0 46,-17 68,-58l1 73c0,0 11,18 23,1l0 -74c0,0 19,38 69,57 0,0 19,-6 6,-21 0,0 -36,-15 -52,-40 0,0 53,33 87,-8 0,0 4,-20 -16,-15 0,0 -21,34 -70,-4l0 -10 8 -2zm-69 14c-2,-2 -2,-6 0,-8 2,-3 6,-3 8,-1 3,3 3,6 0,9 -2,2 -6,2 -8,0zm42 -1c-2,-2 -2,-6 0,-8 2,-2 6,-2 8,0 3,2 3,6 0,8 -2,2 -6,3 -8,0z"></path></g></svg>
|
After Width: | Height: | Size: 3.9 KiB |
|
@ -19,7 +19,7 @@
|
|||
<link rel="icon" type="image/png" sizes="16x16" href="%PUBLIC_URL%/favicon-16x16.png">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<meta name="description" content="Metaplex NFT Marketplace" />
|
||||
<meta name="description" content="SquidStuff NFT Marketplace" />
|
||||
<!--
|
||||
manifest.json provides metadata used when your web app is installed on a
|
||||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||
|
@ -34,7 +34,7 @@
|
|||
work correctly both with client-side routing and a non-root public URL.
|
||||
Learn how to configure a non-root public URL by running `npm run build`.
|
||||
-->
|
||||
<title>Metaplex NFT Marketplace</title>
|
||||
<title>SquidStuff NFT Marketplace</title>
|
||||
<style type="text/css">
|
||||
html {
|
||||
overflow-y: scroll;
|
||||
|
@ -44,6 +44,7 @@
|
|||
#root {
|
||||
height: 100%;
|
||||
font-family: 'Graphik Web', sans-serif;
|
||||
background-image: url(squid.svg);
|
||||
}
|
||||
|
||||
#root::before {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"short_name": "Metaplex NFT Marketplace",
|
||||
"name": "Metaplex NFT Marketplace",
|
||||
"short_name": "SquidStuff NFT Marketplace",
|
||||
"name": "SquidStuff NFT Marketplace",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/android-icon-36x36.png",
|
||||
|
|
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 1.7 MiB |
|
@ -197,7 +197,7 @@ export function Notifications() {
|
|||
content={content}
|
||||
trigger="click"
|
||||
>
|
||||
<h1 className="title">M</h1>
|
||||
<h1 className="title"><img width={32} height={32} src="image.svg" /></h1>
|
||||
</Popover>
|
||||
);
|
||||
|
||||
|
|
|
@ -1,26 +1,8 @@
|
|||
{
|
||||
"EDshWM3jBy2YUszMiFLAFLx3WkbtqR9An7JZzvg22R1P": {
|
||||
"name": "Deployer Admin",
|
||||
"image": "https://pbs.twimg.com/profile_images/1393399819213983746/2a8l5muc_400x400.png",
|
||||
"description": "",
|
||||
"background": ""
|
||||
},
|
||||
"CduMjFZLBeg3A9wMP3hQCoU1RQzzCpgSvQNXfCi1GCSB": {
|
||||
"name": "Bartosz Lipinski",
|
||||
"image": "https://pbs.twimg.com/profile_images/1393353972371623938/ZMWvvptg_400x400.jpg",
|
||||
"description": "",
|
||||
"background": ""
|
||||
},
|
||||
"44kiGWWsSgdqPMvmqYgTS78Mx2BKCWzduATkfY4biU97": {
|
||||
"name": "Jordan Prince",
|
||||
"image": "https://pbs.twimg.com/profile_images/1393399819213983746/2a8l5muc_400x400.png",
|
||||
"description": "",
|
||||
"background": ""
|
||||
},
|
||||
"3yp9iTsCgZoBsXhtRLB8cWHNcTDeR6VJniRuDrHNTuxU": {
|
||||
"name": "James Madison",
|
||||
"image": "https://pbs.twimg.com/profile_images/1393353972371623938/ZMWvvptg_400x400.jpg",
|
||||
"description": "",
|
||||
"3anukDBEijov9oVBNNbvCYsUkBc7yYioiCZiGvuWw61e": {
|
||||
"name": "dude ◎",
|
||||
"image": "https://pbs.twimg.com/profile_images/1403144012425400320/AkELqnTO_400x400.jpg",
|
||||
"description": "extraterrestrial multi-dimensional time traveling squidman. mid tier memer. phd in sol vibenomics. nfa.",
|
||||
"background": ""
|
||||
}
|
||||
}
|
||||
|
|
|
@ -440,11 +440,14 @@ export function MetaProvider({ children = null as any }) {
|
|||
updateMints,
|
||||
]);
|
||||
|
||||
|
||||
|
||||
const filteredMetadata = useMemo(
|
||||
() =>
|
||||
metadata.filter(m =>
|
||||
m?.info?.data?.creators?.find(
|
||||
c =>
|
||||
// c.address.toBase58() !== 'CduMjFZLBeg3A9wMP3hQCoU1RQzzCpgSvQNXfCi1GCSB' &&
|
||||
c.verified &&
|
||||
store &&
|
||||
store.info &&
|
||||
|
@ -704,6 +707,7 @@ const processMetaplexAccounts = async (
|
|||
);
|
||||
if (
|
||||
creatorKeyIfCreatorWasPartOfThisStore.toBase58() === a.pubkey.toBase58()
|
||||
&& whitelistedCreator.address.toBase58() !== 'CduMjFZLBeg3A9wMP3hQCoU1RQzzCpgSvQNXfCi1GCSB'
|
||||
) {
|
||||
const account = cache.add(
|
||||
a.pubkey,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Metaplex NFT Marketplace",
|
||||
"short_name": "Metaplex NFT Marketplace",
|
||||
"name": "SquidStuff NFT Marketplace",
|
||||
"short_name": "SquidStuff NFT Marketplace",
|
||||
"display": "standalone",
|
||||
"start_url": "./",
|
||||
"theme_color": "#002140",
|
||||
|
|
|
@ -49,9 +49,9 @@ export const ArtView = () => {
|
|||
category={art.category}
|
||||
extension={art.image}
|
||||
uri={art.image}
|
||||
style={{ width: 500 }}
|
||||
height={500}
|
||||
width={500}
|
||||
style={{ width: 300 }}
|
||||
height={300}
|
||||
width={300}
|
||||
className="artwork-image"
|
||||
files={art.files}
|
||||
active={true}
|
||||
|
@ -67,7 +67,9 @@ export const ArtView = () => {
|
|||
<br />
|
||||
<div className="info-header">CREATED BY</div>
|
||||
<div className="creators">
|
||||
{(art.creators || []).map(creator => {
|
||||
{(art.creators || [])
|
||||
.filter(creator => creator.address !== 'CduMjFZLBeg3A9wMP3hQCoU1RQzzCpgSvQNXfCi1GCSB')
|
||||
.map(creator => {
|
||||
return (
|
||||
<div
|
||||
className="info-content"
|
||||
|
|
|
@ -16,7 +16,7 @@ export const ArtistsView = () => {
|
|||
500: 1,
|
||||
};
|
||||
|
||||
const items = Object.values(whitelistedCreatorsByCreator);
|
||||
const items = Object.values(whitelistedCreatorsByCreator).filter(c => c.info.address.toBase58() !== 'CduMjFZLBeg3A9wMP3hQCoU1RQzzCpgSvQNXfCi1GCSB');
|
||||
|
||||
const artistGrid = (
|
||||
<Masonry
|
||||
|
|
Loading…
Reference in New Issue