From d299b21f1ec02f7ee048da1ff8df32363add2dfc Mon Sep 17 00:00:00 2001 From: nsjames Date: Tue, 2 Apr 2024 11:55:57 +0100 Subject: [PATCH] wharfkit --- courses/wharf_session_webinar.json | 210 +++++++++++++++++++++++++++++ yarn.lock | 65 --------- 2 files changed, 210 insertions(+), 65 deletions(-) create mode 100644 courses/wharf_session_webinar.json diff --git a/courses/wharf_session_webinar.json b/courses/wharf_session_webinar.json new file mode 100644 index 0000000..080ca51 --- /dev/null +++ b/courses/wharf_session_webinar.json @@ -0,0 +1,210 @@ +{ + "doc_type": "course", + "created_at": 1697813882187, + "slug": "introducing-wharf-sessionkit-overview", + "slug_hash": "545c2535508a15174b2e30a9fcbf935781030cd6b7e171b19e2e2301c54ddbb1", + "title": "Introducing Wharf: SessionKit & Overview", + "description": "Learn about EOS' new JavaScript SDK, and how it can help you build better web3 apps!", + "episodes": [ + { + "id": "overview", + "title": "Wharf Overview", + "description": "Get a primer about the Wharf SDK before diving deeper", + "questions": [ + { + "id": "what-is-sessionkit", + "text": "What is the SessionKit?", + "possible_answers": { + "a": "Manages your user's sessions", + "b": "Manages your dog's wallets", + "c": "Manages a company's funds" + } + }, + { + "id": "what-is-contractkit", + "text": "What is the ContractKit?", + "possible_answers": { + "a": "Helps you interact with wallets", + "b": "Helps you interact with custom contracts", + "c": "Takes out the trash" + } + }, + { + "id": "what-is-accountkit", + "text": "What is the AccountKit?", + "possible_answers": { + "a": "Helps you interact with the system contracts", + "b": "Helps you deploy contracts", + "c": "Helps you interact with custom contracts" + } + } + ], + "video_url": "https://www.youtube.com/embed/vtkIj21a5aI", + "resources_url": null + }, + { + "id": "what-is-a-session", + "title": "What is a session?", + "description": "Dig into what a session is, and why it's important", + "questions": [ + { + "id": "what-do-you-authenticate-against", + "text": "What do you authenticate against in blockchain?", + "possible_answers": { + "a": "Your centralized database", + "b": "Google", + "c": "Wharf" + } + }, + { + "id": "when-authenticated-request", + "text": "When do you need to do an authenticated request?", + "possible_answers": { + "a": "When you need to read data from the blockchain", + "b": "When you need to sign a transaction" + } + } + ], + "video_url": "https://www.youtube.com/embed/dSgs_o3lNY4", + "resources_url": null + }, + { + "id": "session-composition", + "title": "Session composition", + "description": "Learn about the different parts of a session", + "questions": [ + { + "id": "what-are-the-components-of-a-session", + "text": "What are the components of a session?", + "possible_answers": { + "a": "Database, account, and login", + "b": "Blockchain and key", + "c": "Blockchain, account, and signer" + } + }, + { + "id": "what-is-a-signer", + "text": "What is a signer?", + "possible_answers": { + "a": "Something that can sign a transaction and return a signature", + "b": "Something that can sign docusign documents", + "c": "Someone who signs off on your work" + } + } + ], + "video_url": "https://www.youtube.com/embed/_RPb1QTAsw0", + "resources_url": null + }, + { + "id": "how-to-session", + "title": "How to make a session", + "description": "Learn how to make a session", + "questions": [ + { + "id": "ways-to-make-a-session", + "text": "What are the two ways to make a session?", + "possible_answers": { + "a": "By passing in a contract", + "b": "Either manually, or by logging a user into the SessionKit", + "c": "By turning off your computer" + } + }, + { + "id": "can-connect-many", + "text": "Can you connect to many blockchains at once?", + "possible_answers": { + "a": "Yes", + "b": "No" + } + } + ], + "video_url": "https://www.youtube.com/embed/Ea8VBN4ekAE", + "resources_url": null + }, + { + "id": "integration", + "title": "Integrating wharf in a web app", + "description": "Watch a demo of how to integrate wharf into a web app", + "questions": [ + { + "id": "what-deps", + "text": "What dependencies are required?", + "possible_answers": { + "a": "None", + "b": "only @wharfkit/session", + "c": "@wharfkit/session, @wharfkit/web-renderer, wallet plugins" + } + }, + { + "id": "what-login", + "text": "What SessionKit method do you call to login a user?", + "possible_answers": { + "a": "login", + "b": "logout", + "c": "connect" + } + }, + { + "id": "what-transact", + "text": "What SessionKit method do you call to send a transaction to the blockchain?", + "possible_answers": { + "a": "transfer", + "b": "interact", + "c": "transact" + } + } + ], + "video_url": "https://www.youtube.com/embed/ZAVvOcLN5C8", + "resources_url": null + }, + { + "id": "q-and-a", + "title": "Q&A Session", + "description": "Learn from questions asked by the community", + "questions": [ + { + "id": "where-support", + "text": "Where are the best places to get support?", + "possible_answers": { + "a": "Github discussions, or wharf telegram group", + "b": "Calling Aaron on his landline at 2:17 am" + } + }, + { + "id": "what-harm", + "text": "Does wharf store any harmful information in the browser?", + "possible_answers": { + "a": "Yes", + "b": "No" + } + } + ], + "video_url": "https://www.youtube.com/embed/3q73FkwlKII", + "resources_url": null + } + ], + "difficulty": 1, + "language": "en", + "tags": [ + "native" + ], + "instructor": "Aaron Cox | Greymass", + "instructor_link": "https://wharfkit.com/", + "thumbnail": "", + "answers": { + "what-is-sessionkit": "a", + "what-is-contractkit": "b", + "what-is-accountkit": "a", + "what-do-you-authenticate-against": "c", + "when-authenticated-request": "a", + "what-are-the-components-of-a-session": "c", + "what-is-a-signer": "a", + "ways-to-make-a-session": "b", + "can-connect-many": "a", + "what-deps": "c", + "what-login": "a", + "what-transact": "c", + "where-support": "a", + "what-harm": "b" + } +} diff --git a/yarn.lock b/yarn.lock index 46a9078..fb57ccd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,68 +2,3 @@ # yarn lockfile v1 -"@nuxtjs/gtm@^2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@nuxtjs/gtm/-/gtm-2.4.0.tgz#d7f5bb05b0306c564674831eab17b4e25cfdc1f6" - integrity sha512-Of5KuBBFwRjyJ6AuRrIQsh8J6ksIN2UegJDE8nBiTAanbwQBsAJ0hZibV9SjhKdGvGvWpbShQ4yR2bmQgY6XKA== - dependencies: - chalk "^4.1.0" - semver "^7.3.2" - -ansi-styles@^4.1.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" - integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== - dependencies: - color-convert "^2.0.1" - -chalk@^4.1.0: - version "4.1.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" - integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - -color-convert@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" - integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== - dependencies: - color-name "~1.1.4" - -color-name@~1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" - integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - -has-flag@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" - integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== - -lru-cache@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" - integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== - dependencies: - yallist "^4.0.0" - -semver@^7.3.2: - version "7.3.8" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" - integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== - dependencies: - lru-cache "^6.0.0" - -supports-color@^7.1.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" - integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== - dependencies: - has-flag "^4.0.0" - -yallist@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" - integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==