Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liskhq/lisk-token-claim
Tools to support token claiming for Lisk
https://github.com/liskhq/lisk-token-claim
blockchain lisk
Last synced: 3 days ago
JSON representation
Tools to support token claiming for Lisk
- Host: GitHub
- URL: https://github.com/liskhq/lisk-token-claim
- Owner: LiskHQ
- License: apache-2.0
- Created: 2023-11-22T16:40:52.000Z (12 months ago)
- Default Branch: development
- Last Pushed: 2024-09-12T13:20:37.000Z (2 months ago)
- Last Synced: 2024-09-12T23:53:21.901Z (2 months ago)
- Topics: blockchain, lisk
- Language: TypeScript
- Homepage: https://lisk.com
- Size: 2.88 MB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lisk Token Claim
This repository is a monorepo for essential non-contract services for the LSK Token Claim on the Lisk L2.
## Table of Contents
- [Packages](#packages)
- [Tree Builder](#tree-builder)
- [Token Claim Backend](#claim-backend)
- [Token Claim CLI](#claim-cli)
- [Setup and Installation](#setup-and-installation)
- [Docker](#docker)
- [Contributing](#contributing)
- [License](#license)## Packages
In this monorepo there are currently 2 packages:
### [Tree Builder](packages/tree-builder)
Builds a Merkle Tree from a snapshot and computes the Merkle Root.
### [Claim Backend](packages/claim-backend)
Perform as a backend server, compatible with JSON RPC 2.0 Standard.
The database is using PostgreSQL.
### [Claim CLI](packages/claim-cli)
A command-line tool to claim LSK token by submitting transaction directly on-chain.
## Setup and Installation
The Node version for this project is 18. Make sure you have the correct version installed. If you are using `nvm`, run `nvm use 18`.
### 1. Clone Lisk Token Claim Repository
```
$ git clone [email protected]:LiskHQ/lisk-token-claim.git
```### 2. Install Node dependencies and build project
```
$ yarn && yarn build
```## Docker
Dockerfiles are stored at the [docker](./docker/) folder.
To build the docker locally,```
docker build -t lisk-claim-backend -f ./docker/claim-backend/Dockerfile .
```## Documentation
- [Tech Design](./documentation/Tech_Design.md) - A comprehensive document, including:
- Project Background
- Requirement of the project
- Components of the project
- Technical specification
- Design- [Taking Snapshot](./documentation/Taking_Snapshot.md) - A detailed documentation for:
- Obtaining Lisk v4 Snapshot
- Data preparation for Merkle Tree Generation
- Generate Merkle Tree for
- Lisk Token Migration
- Migration Airdrop- [Detailed Guide to Claim CLI Tool](./documentation/Detailed_Claim_CLI.md) - A detailed documentation for:
- Claiming Lisk tokens without the need for UI
- Detailed steps of the claim process using CLI## Contributing
If you find any issues or have suggestions for improvements,
please [open an issue](https://github.com/LiskHQ/lisk-token-claim/issues/new/choose) on the GitHub repository. You can also
submit [pull requests](https://github.com/LiskHQ/lisk-token-claim/compare)
with [bug fixes](https://github.com/LiskHQ/lisk-token-claim/issues/new?assignees=&labels=bug+report&projects=&template=bug-report.md&title=%5BBug%5D%3A+),
[new features](https://github.com/LiskHQ/lisk-token-claim/issues/new?assignees=&labels=&projects=&template=feature-request.md),
or documentation enhancements.## License
Copyright 2024 Onchain Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at```shell
http://www.apache.org/licenses/LICENSE-2.0
```Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.