Skip to content

Commit

Permalink
Merge branch 'main' into feat/improved-client-table
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolmin authored Aug 21, 2024
2 parents 25e0058 + 47f04c3 commit 71b920b
Show file tree
Hide file tree
Showing 9 changed files with 847 additions and 252 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ import TabItem from '@theme/TabItem';

# Set LSP7 Token Metadata

In this guide, you will learn how to edit the [`LSP4Metadata`](../../../standards/tokens/LSP4-Digital-Asset-Metadata.md) of an [LSP7 Digital Asset](../../../standards/tokens/LSP7-Digital-Asset.md).
> 👇🏻 Hands on 📽️ _ethers.js_ workshop video for the [**Oxford Blockchain Society**](https://x.com/oxfordblocksoc) from March 2024.
To edit an LSP7 Digital Asset metadata, you will need to:
<div class="video-container">
<iframe width="560" height="315" src="https://www.youtube.com/embed/TZV_eOp77b8?si=iWMEWZ6mu30o-Bo5" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div>

In this guide, you will learn how to edit the [`LSP4Metadata`](../../../standards/tokens/LSP4-Digital-Asset-Metadata.md) of an [LSP7 Digital Asset](../../../standards/tokens/LSP7-Digital-Asset.md). You will need to:

1. get your assets ready (images, videos, etc.) and create a metadata JSON file
2. upload these files using a preferred storage provider
Expand Down
54 changes: 37 additions & 17 deletions docs/learn/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,43 +29,63 @@ export const CardData = [
],
},
{
image: ValidatorIcon,
imageTitle: 'Validator Icon',
cardHeading: 'Validators',
image: SmartContractDevIcon,
imageTitle: 'Smart Contract Developer Icon',
cardHeading: 'Smart Contract Developer',
cardContent: [
{
linkText: 'Run a node for LUKSO',
linkPath: '../../networks/mainnet/running-a-node',
linkText: 'Get started with Tokens and NFTs',
linkPath: '../learn/digital-assets/getting-started',
},
{
linkText: 'Become a Validator',
linkPath: '../../networks/mainnet/become-a-validator',
linkText: 'Create a token',
linkPath: '../learn/digital-assets/token/create-lsp7-token',
},
{
linkText: 'Checkout the Network Parameters',
linkPath: '../../networks/mainnet/parameters',
linkText: 'Create an Automatic Token Forwarder for your UP',
linkPath: '../learn/universal-profile/universal-receiver/create-receiver-forwarder',
},
],
},
{
image: SmartContractDevIcon,
imageTitle: 'Smart Contract Developer Icon',
cardHeading: 'Smart Contract Developer',
imageTitle: 'Quickstart Integration',
cardHeading: 'Quickstart Integration',
cardContent: [
{
linkText: 'Get started with Tokens and NFTs',
linkPath: '../learn/digital-assets/getting-started',
linkText: 'Migrate to LUKSO',
linkPath: '../learn/migrate/migrate-to-lukso',
},
{
linkText: 'Create a token',
linkPath: '../learn/digital-assets/token/create-lsp7-token',
linkText: 'Refactor a Solidity ERC20 token to LSP7',
linkPath: '../learn/migrate/migrate-erc20-to-lsp7',
},
{
linkText: 'Migrate ERC20 a token to LSP7',
linkPath: '../learn/migrate/migrate-erc20-to-lsp7',
linkText: 'Refactor a Solidity ERC721 NFT to LSP8',
linkPath: '../learn/migrate/migrate-erc721-to-lsp8',
},
],
},
{
image: ValidatorIcon,
imageTitle: 'Validator Icon',
cardHeading: 'Validators',
cardContent: [
{
linkText: 'Run a node for LUKSO',
linkPath: '../../networks/mainnet/running-a-node',
},
{
linkText: 'Become a Validator',
linkPath: '../../networks/mainnet/become-a-validator',
},
{
linkText: 'Checkout the Network Parameters',
linkPath: '../../networks/mainnet/parameters',
},
],
},

];

# Quick Start
Expand Down
230 changes: 200 additions & 30 deletions docs/learn/migrate/migrate-erc20-to-lsp7.md

Large diffs are not rendered by default.

352 changes: 259 additions & 93 deletions docs/learn/migrate/migrate-erc721-to-lsp8.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
sidebar_label: 'Create a LSP1 Forwarder'
sidebar_label: 'Create a Token Forwarder'
sidebar_position: 2
description: This smart contract tutorial guides you on how to create a LSP1 Delegate contract that forwards portion of received tokens automatically to any address.
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Create a LSP1 Forwarder
# Create a Token Forwarder

This guide will teach you how to create a basic custom [Universal Receiver Delegate](../../../standards/generic-standards/lsp1-universal-receiver-delegate.md) contract for the following use-case:

Expand Down
Loading

0 comments on commit 71b920b

Please sign in to comment.