This repository was transferred to lukso-network/lukso-playground and is no longer maintained.
Convenient and standalone code snippets to interact with LSP standards.
Most snippets were taken from LUKSO Tech Docs and work completely autonomously.
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
│ │ WIP
|
└───create-profile // Create UP
│ │ Create Universal Profile
|
└───create-vault // Create UP
│ │ WIP
|
└───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
|
└───key-manager // Permission Management
| │ Manage 3rd party permissions (WIP)
| │ Get controller key (WIP)
| │ 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.