Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 3e37cec

Browse files
authored
Merge pull request #423 from kodadot/main
8k3 changelog
2 parents 9eda138 + 8689b32 commit 3e37cec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2007
-820
lines changed

โ€Ždashboard/apollo.config.jsโ€Ž

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// apollo.config.js
2+
module.exports = {
3+
client: {
4+
service: {
5+
name: 'magick',
6+
// URL to the GraphQL API
7+
url: 'https://api.subquery.network/sq/vikiival/magick'
8+
// url: 'http://localhost:3000',
9+
},
10+
// Files processed by the extension
11+
includes: [
12+
'src/**/*.vue',
13+
'src/**/*.js',
14+
],
15+
},
16+
}

โ€Ždashboard/justfileโ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
upgrade:
2-
yarn add @polkadot/types @polkadot/ui-keyring @polkadot/ui-settings @polkadot/util @polkadot/util-crypto @polkadot/vue-identicon
2+
yarn add @polkadot/types @polkadot/ui-keyring @polkadot/ui-settings @polkadot/util @polkadot/util-crypto @polkadot/vue-identicon
33

44
view PR:
5-
gh pr view --web {{PR}}
5+
gh pr view --web {{PR}}

โ€Ždashboard/package.jsonโ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,24 @@
3131
"@types/file-saver": "^2.0.2",
3232
"@vue-polkadot/vue-api": "^0.0.32",
3333
"@vue-polkadot/vue-settings": "^0.0.17",
34+
"apollo-boost": "^0.4.9",
3435
"axios": "^0.21.1",
3536
"buefy": "^0.9.7",
37+
"emoji-unicode": "^2.0.1",
3638
"file-saver": "^2.0.5",
3739
"freezeframe": "^5.0.2",
40+
"graphql": "^15.5.0",
41+
"idb-keyval": "^5.0.6",
3842
"lazysizes": "^5.3.2",
3943
"markdown-it-vue": "^1.1.6",
4044
"mingo": "^4.1.2",
4145
"netlify-lambda": "^2.0.7",
4246
"register-service-worker": "^1.7.2",
4347
"setimmediate": "^1.0.5",
4448
"slugify": "^1.5.3",
49+
"v-emoji-picker": "^2.3.3",
4550
"vue": "^2.6.12",
51+
"vue-apollo": "^3.0.7",
4652
"vue-audio-visual": "^2.2.2",
4753
"vue-class-component": "^7.2.6",
4854
"vue-cli-plugin-sitemap": "~2.3.0",

โ€Ždashboard/package.pyโ€Ž

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env python3
2+
3+
from os import system
4+
from json import load
5+
6+
f = open('./package.json')
7+
p = load(f)
8+
a = ' '.join(p['dependencies'].keys())
9+
system('yarn add ' + a)
10+
11+
if __name__ == '__main__':
12+
print('[INFO] Running as a script')
13+
print(len(sys.argv))

โ€Ždashboard/src/App.vueโ€Ž

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@ export default class Dashboard extends Vue {
4141
}
4242
4343
public async loadKeyring(): Promise<void> {
44+
const isDevelopment = process.env.VUE_APP_KEYRING === 'true'
4445
keyring.loadAll({
45-
ss58Format: this.ss58Format || 42,
46+
ss58Format: isDevelopment ? 0 : this.ss58Format || 42,
4647
type: 'sr25519',
47-
isDevelopment: process.env.VUE_APP_KEYRING === 'true' || false,
48+
isDevelopment,
4849
});
4950
}
5051
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
<template>
2+
<div>
3+
<section class="hero is-light">
4+
<div class="hero-body">
5+
<div class="container">
6+
<div class="columns">
7+
<div class="column is-6 is-offset-3">
8+
<h1 class="title is-1">
9+
<b-icon icon="leaf"></b-icon>
10+
Sustentabilidad de KodaDot
11+
</h1>
12+
<h1 class="subtitle">
13+
micro-dao-bedrock-bootstrap-experimento
14+
</h1>
15+
<p>
16+
Como parte de nuestro micro-dao-bootstrap-experimento, nos gustarรญa mantener nuestros esfuerzos sostenibles <b>en el largo plazo y crear esa confianza de la cultura </b> y la economรญa de los creadores para KodaDot y darles esa seguridad de que no desapareceremos maรฑana y seguiremos funcionando mientras podamos cubrir nuestros esfuerzos para mantenerlo en lรญnea y funcionando.
17+
</p><br>
18+
<p>
19+
Estaremos elaborando lentamente lo que es la mejor posible opcion para apoyar a la economia de los Creadores y ayudarles a realizar una vida sostenible de su trabajo. <b>Estamos aqui para apoyar esta causa.</b> Por otra parte, debemos tener en cuenta nuestra sostenibilidad a largo plazo. Estamos en posiciรณn de ser espectadores universales y de no ser propietarios de una plataforma como actualmente lo hacen otras galerias.
20+
</p><br>
21+
<p>
22+
Por el momento nuestro unico ingreso ha sido aprobado
23+
<a href="https://kusama.polkassembly.io/motion/256">propuesta#384 &amp;
24+
motion#256 de Kusama Treasury funding</a>
25+
por milestone1. Principalmente este fondo se destinรณ a los costos del desarrollo y no para su funcionamiento y/o mantenimiento.
26+
</p><br>
27+
<p>
28+
Nuestro flujo de los fondos estarรก dividio en 3 partes: <b>Un programa para el apoyo de los Artistas, Costos de funcionamiento y para el Costo de la investigacion y desarrollo de KodaDot.</b> Desde el inicio, vamos a poner una parte de nuestros ahorros en el fondo de bedrock.
29+
</p><br>
30+
<p>
31+
<a href="https://github.com/kodadot/nft-gallery/issues/141">
32+
Los costos por el funcionamento de</a> de KodaDot consisten en pagar Netlify (http, cdn, CI&amp;CD), Pinata (IPFS), Arweave (por ahora es gratuito, despues tendremos que pagar), Textile.io (esperamos que este costo sea el mismo por un tiempo, y despues aumente).
33+
Mantenimiento, los costos de R&amp;D deben ser pagados a
34+
<a href="https://github.com/kodadot/nft-gallery/issues">our backlog of
35+
medida que nuevas funciones en KodaDot vayan apareciendo</a> y estamos <b>tratando de invitar a mas desarrolladores a nuestros circulos poniendo recompensas en problemas</b>.
36+
Cualquiera podrรก unirse y ayudar con nuestro esfuerzo.
37+
</p></br>
38+
<p>
39+
Como nos gustarรญa establecer nuestro vector de acumulaciรณn para el fondo de sostenibilidad e introducir <b>una pequeรฑa tarifa gracias a que podra mintear su obra</b> a travรฉs de KodaDot, agregaremos un botรณn en el que aรบn puede optar por no participar voluntariamente y poder mintear su obra sin apoyarnos en lo absoluto.
40+
</p><br>
41+
<p>
42+
Para <b>devolver valor a la comunidad</b>, estamos a punto de establecer
43+
<b><a href="https://hackmd.io/cy3jpAhvR-S32SUiMqEabg?edit">un programa para el apoyo a los artistas </a></b> el cual fluirรก de regreso a los artistas. Estamos tratando de crear un ciclo de acumulacion de autorefuerzo, donde usted, como creador que apoya la galerรญa de KodaDot, el apoyo regresarรก y serรก destinado a nuevos artistas, creando asรญ efectos de red para los primeros usuarios y la prรณxima ola de adoptantes, etc., Que luego podrรญan ser autopropulsados โ€‹โ€‹en algรบn momento si logramos desarrollar la estategia correcta. Solo necesitamos jugar un poco mรกs con las curvas de flujo correctas. Es un experimento.
44+
</p><br>
45+
<p>
46+
Los poseedores actuales de multisig son los fundadores de KodaDot --
47+
<a href="https://twitter.com/yangwao">yangwao</a> &amp;
48+
<a href="https://twitter.com/vikiival">vikiival</a>
49+
y luego se expandirรก, ya que creemos confianza con una comunidad mas amplia a la que le gustaria participar y adentrarse en KodaDot ya que esperamos que la tesoreria pueda crecer ampliamente algun dia.
50+
</p><br>
51+
<h1 class="title is-4">
52+
<a href="https://dictionary.reverso.net/spanish-definition/sustentabilidad">Definicion de Sustentabilidad</a>
53+
</h1>
54+
<h1 class="subtitle">sustantivo</h1>
55+
<p>
56+
<li>Es la abilidad de sostener o apoyar.</li>
57+
<li>Ciencia Ambiental. Es la cualidad de no ser daรฑino al Ambiente o estar agotando los recursos naturales por lo tanto se estaria apoyando el balance ecologico a una visiรณn a largo plazo.</li>
58+
</p>
59+
</div>
60+
</div>
61+
</div>
62+
</div>
63+
</section>
64+
65+
</div>
66+
</template>
67+
<script lang="ts" >
68+
import { Component, Vue } from 'vue-property-decorator';
69+
70+
71+
@Component<EsSustainibility>({
72+
metaInfo() {
73+
return {
74+
meta: [
75+
{ property: 'og:title', content: 'KodaDot Kusama NFT explorer'},
76+
{ property: 'og:image', content: 'https://nft.kodadot.xyz/kodadot_carbonless.jpg'},
77+
{ property: 'og:description', content: 'KodaDot: Sustainibility mission'},
78+
{ property: 'twitter:title', content: 'Low minting fees and carbonless NFTs'},
79+
{ property: 'twitter:description', content: 'KodaDot: Sustainibility mission'},
80+
{ property: 'twitter:image', content: 'https://nft.kodadot.xyz/kodadot_carbonless.jpg'},
81+
]
82+
}
83+
}
84+
})
85+
export default class EsSustainibility extends Vue {
86+
87+
}
88+
</script>

โ€Ždashboard/src/components/landing/Landing.vueโ€Ž

Lines changed: 48 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,12 @@
1313
KodaDot NFT {{ $t('Explorer') }}<br>
1414
</router-link>
1515
</h1><br>
16+
<h1 class="title is-1">
17+
Home of {{ count }} collections
18+
</h1><br>
1619
<div class="tile is-ancestor">
1720
<div class="tile is-parent is-vertical">
1821
<div class="tile is-child">
19-
<h2 class="title is-3">
20-
<b-icon
21-
pack="fas"
22-
icon="camera-retro">
23-
</b-icon>
24-
<router-link :to="{ name: 'nftRare', }">
25-
Rare solo feed
26-
</router-link>
27-
</h2>
2822
<h2 class="title is-3">
2923
<b-icon
3024
pack="fas"
@@ -63,7 +57,7 @@
6357
pack="far"
6458
icon="comment-dots">
6559
</b-icon>
66-
{{ $t('Tutorial: How to mint NFT') }}
60+
Tutorial 1
6761
</a>
6862
</h2>
6963
<h2 class="title is-4">
@@ -72,24 +66,33 @@
7266
pack="far"
7367
icon="comment-dots">
7468
</b-icon>
75-
{{ $t('Tutorial: Mint your NFTs on KodaDot') }}
69+
Tutorial 2
7670
</a>
7771
</h2>
7872
<h2 class="title is-4">
7973
<router-link :to="{ name: 'rmrkFaq' }">
8074
<b-icon
8175
icon="question">
8276
</b-icon>
83-
{{ $t('New here? We have F.A.Q.') }}
77+
{{ $t('F.A.Q.') }}
8478
</router-link>
8579
</h2>
8680
</div>
8781
</div>
8882
<div class="tile is-parent is-vertical">
8983
<div class="tile is-child">
84+
<h2 class="title is-3">
85+
<b-icon
86+
pack="fas"
87+
icon="camera-retro">
88+
</b-icon>
89+
<router-link :to="{ name: 'nftRare', }">
90+
{{ $t('Solo feed') }}
91+
</router-link>
92+
</h2>
9093
<h2 class="title">
9194
<b-icon icon="flask"></b-icon>
92-
We are wandering new avenues of NFT experience.<br>
95+
experimental NFT landscape<br>
9396
</h2>
9497
<h2 class="title">
9598
<b-icon icon="leaf"></b-icon>
@@ -103,6 +106,12 @@
103106
Sustainability program
104107
</router-link>
105108
</h2>
109+
<h2 class="title">
110+
<b-icon icon="leaf"></b-icon>
111+
<router-link :to="{ name: 'esSustainability'}">
112+
Sustentabilidad de KodaDot
113+
</router-link>
114+
</h2>
106115
</div>
107116
<!-- <div class="tile is-child">
108117
<h2 class="title is-3">
@@ -129,7 +138,6 @@
129138
pack="fab"
130139
icon="telegram">
131140
</b-icon>
132-
KodaDot
133141
</a>
134142
</h2>
135143
<h2 class="title">
@@ -138,7 +146,6 @@
138146
pack="fab"
139147
icon="reddit-alien">
140148
</b-icon>
141-
r/KodaDot
142149
</a>
143150
</h2>
144151
<h2 class="title">
@@ -147,7 +154,6 @@
147154
pack="fab"
148155
icon="twitter">
149156
</b-icon>
150-
@KodaDot
151157
</a>
152158
</h2>
153159
<h2 class="title">
@@ -156,7 +162,6 @@
156162
pack="fab"
157163
icon="discord">
158164
</b-icon>
159-
KodaDot Community Discord
160165
</a>
161166
</h2>
162167
<!-- <h2 class="title">
@@ -168,15 +173,14 @@
168173
</a>
169174
</h2> -->
170175
<h2 class="title">
171-
<a href="https://medium.com/kodadot/kodadot-nft-explorer-f2c3a326a856" target="_blank">
176+
<a href="https://medium.com/kodadot/" target="_blank">
172177
<b-icon
173178
pack="fab"
174179
icon="medium">
175180
</b-icon>
176-
{{ $t('Read our story, how we started.') }}
177181
</a>
178182
</h2>
179-
<h2 class="title">
183+
<!-- <h2 class="title">
180184
<a href="https://medium.com/kodadot/traverse-to-the-prime-show-733d6046d3f5" target="_blank">
181185
<b-icon
182186
pack="fab"
@@ -193,16 +197,16 @@
193197
</b-icon>
194198
{{ $t('Client-first NFT gallery: Technical examination') }}
195199
</a>
196-
</h2>
197-
<h2 class="title">
200+
</h2> -->
201+
<!-- <h2 class="title">
198202
<a href="https://twitter.com/metaprime_net" target="_blank">
199203
<b-icon
200204
pack="fab"
201205
icon="twitter">
202206
</b-icon>
203207
{{ $t('NFT-focused infrastracture @Metaprime_net') }}
204208
</a>
205-
</h2>
209+
</h2> -->
206210
</div>
207211
</div>
208212
</div>
@@ -213,6 +217,8 @@
213217
</template>
214218
<script lang="ts">
215219
import { Component, Prop, Vue, Watch } from 'vue-property-decorator';
220+
import gql from 'graphql-tag'
221+
216222
const components = {
217223
Identity: () => import('@/components/shared/format/Identity.vue'),
218224
};
@@ -229,22 +235,34 @@ const components = {
229235
]
230236
}
231237
},
232-
components })
238+
components,
239+
apollo: {
240+
count: {
241+
query: gql`query listed {
242+
collectionEntities {
243+
totalCount
244+
}
245+
}`,
246+
update: data => data.collectionEntities.totalCount
247+
}
248+
}
249+
})
233250
export default class Landing extends Vue {
234251
235252
public publicCommunity: any = [
236-
['๐ŸŒ Global Discord', 'https://discord.gg/u6ymnbz4PR'],
237253
['๐Ÿ‡ฆ๐Ÿ‡ฒ Armenia', 'https://t.me/kodadotarmenia'],
238-
['๐Ÿ‡ง๐Ÿ‡ฉ Bengali', 'https://t.me/KodaDot_Bengali'],
254+
// ['๐Ÿ‡ง๐Ÿ‡ฉ Bengali', 'https://t.me/KodaDot_Bengali'], seems not active
239255
['๐Ÿ‡จ๐Ÿ‡ฟ ฤŒesko', 'https://t.me/joinchat/Fhnvbi5a_wRjNzFk'],
240256
['๐Ÿ‡ฏ๐Ÿ‡ต Japan', 'https://t.me/kodadotjapan'],
241257
['๐Ÿ‡ต๐Ÿ‡ฑ Polska', 'https://t.me/joinchat/HG7J2RAk906N7scb'],
242258
['๐Ÿ‡ต๐Ÿ‡น Portuguese', 'https://t.me/joinchat/1UHYFZpVYmE1OTZk'],
243259
['๐Ÿ‡ท๐Ÿ‡บ Russia', 'https://t.me/kodadotru'],
244260
['๐Ÿ‡ช๐Ÿ‡ธ Spanish','https://t.me/joinchat/HkF3cxImJAJGoRH9'],
245261
['๐Ÿ‡น๐Ÿ‡ท Tรผrkiye', 'https://t.me/KodaDotTR'],
246-
['๐Ÿ‡ป๐Ÿ‡ณ Viแป‡t Nam', 'https://t.me/joinchat/GR0OiagewrkTzD4u'],
247-
// ['Want to help translate?', 'https://github.com/kodadot/nft-gallery/tree/i18n/dashboard/src/locales']
262+
['๐ŸŒ Global KodaDot Discord', 'https://discord.gg/u6ymnbz4PR'],
263+
['๐Ÿ— Developers', 'https://discord.gg/KkctBVQ8kP'],
264+
// ['๐Ÿ‡ป๐Ÿ‡ณ Viแป‡t Nam', 'https://t.me/joinchat/GR0OiagewrkTzD4u'], seems not active
265+
['Want to help translate?', 'https://github.com/kodadot/nft-gallery/tree/i18n/dashboard/src/locales']
248266
]
249267
250268
public creators: any = [
@@ -255,8 +273,8 @@ export default class Landing extends Vue {
255273
'CxQJNQeowRUJBgUHQpspudWy4BU6Rk2u93yDZEKe6GzcLDe',
256274
'GHuTwhh9txr69tHBM2f1mPE6tWn9XCYKMi3nRNFrYvGv9Yy',
257275
'CuHWHNcBt3ASMVSJmcJyiBWGxxiWLyjYoYbGjfhL4ovoeSd',
258-
'HtRTwHSP6fYC5PtCsJ7pG4H1hwyPhzXbtVTTVRJ6kvfPFe1',
259-
'Cu7QaEnRGPE91WvLduzUii2ZNa3jhMWtmB8SYwumycNRmoN'
276+
// 'HtRTwHSP6fYC5PtCsJ7pG4H1hwyPhzXbtVTTVRJ6kvfPFe1', did not set identity
277+
// 'Cu7QaEnRGPE91WvLduzUii2ZNa3jhMWtmB8SYwumycNRmoN' did not set identity
260278
]
261279
262280
}

0 commit comments

Comments
ย (0)