Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tsukipond8531/mirror-nfts
A backend able to mirror NFTs to any arbitrary chain
https://github.com/tsukipond8531/mirror-nfts
backend docker dockercompose ethereum ethereum-contract nestjs solidity typescript
Last synced: 7 days ago
JSON representation
A backend able to mirror NFTs to any arbitrary chain
- Host: GitHub
- URL: https://github.com/tsukipond8531/mirror-nfts
- Owner: tsukipond8531
- License: mit
- Created: 2024-05-06T13:26:52.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-06T13:27:08.000Z (9 months ago)
- Last Synced: 2025-01-11T02:18:03.870Z (7 days ago)
- Topics: backend, docker, dockercompose, ethereum, ethereum-contract, nestjs, solidity, typescript
- Language: TypeScript
- Homepage:
- Size: 281 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Miral
A relayer able to mirror any NFT to an arbitrary L2
## How to use it
- Launch MongoDB using docker compose
```
docker compose up
```- Launch relayer
```
yarn start
```And that's pretty much it
## How to interact
- Deploy
```
curl -X POST -H "Content-Type: application/json" -d '{"constructorArgs":["arg1", "arg2"]}' http://localhost:3000/deploy/--l1ContractAddress--
```- Login
```
http://localhost:3000/login/--L1 EOA--/--L1 NFT ADDRESS--/--Token Id--
```- Update L1
```
http://localhost:3000/login/--l2ContractAddress--/--tokenId--
```## Architecture