Convenient and standalone code snippets to interact with LSP standards.
Most snippets were taken from LUKSO Tech Docs and work completely autonomously.
5th August 2022
legacy:
Legacy LSP standards on L14 (universalprofile.cloud)current:
Latest LSP standards on L16none:
using latest standards and version of erc725.js
project
│
└───convenience // Utility Functions
│ │ Check Blockchain Addresses
│ │ Create Externally Owned Account
│
└───create-asset // Create LSP7 & LSP8
│ │ Work in Progress ...
|
└───create-profile // Create UP
│ │ Create Universal Profile
|
└───extract-data // Extract LSP JSON
│ │ Extract Data from Asset JSON
│ │ Extract Data from Profile JSON
|
└───fetch-asset // Fetch LSP7 & LSP8
│ │
│ └───current/legacy
│ │ Fetch Owned Assets
│ │ Fetch Asset Data
│ │ Complete Asset Guide
|
└───fetch profile // Fetch UP
| │ Fetch Universal Receiver
| │ Read Profile Data
| │ Read Profile Metadata
| │ Complete Profile Guide
|
└───hardhat deploy // SC Deployment Setup for L16
| │ Sample Contract
| │ Scripts
| │ Test
|
└───permissions // Key Manager
| │ Set UP Permissions to Address
|
└───transfer LYX // Value Transfer
| │ Complete Transfer Guide
|
└───update profile // Update UP
│ Complete Update Guide
Version 0.14.0
https://2eff.lukso.dev/ipfs/
(current L14 & L16)
Clone this repository and install its dependencies.
git clone https://github.com/lukso-network/lukso-playground.git
cd lukso-playground
npm install
Run the JavaScript code of one file within the terminal.
node [FILENAME].js
Open this project on StackBlitz and start coding right away.