Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Music NFT Upload Form and Backend Logic #2

Open
angelorc opened this issue Jan 19, 2024 — with Volta.net · 0 comments
Open

Implement Music NFT Upload Form and Backend Logic #2

angelorc opened this issue Jan 19, 2024 — with Volta.net · 0 comments
Labels
enhancement New feature or request music-nft

Comments

Copy link
Contributor

Create a user-friendly multi-step form for uploading Music NFTs, followed by the implementation of the backend logic.

  • The form must use @bitsongjs/metadata and include fields to generate metadata similar to the provided example.
  • The form should guide the user through various steps such as:
    1. Audio upload
    2. Artwork upload, adding title and artists
    3. Adding additional metadata
    4. Choosing the type of sale (curve or fixed price)
    5. Setting sale parameters
    6. Adding royalty recipients
  • The following endpoints are proposed for handling the form data:
    • POST /me/music-nft
    • PUT /me/music-nft/<draft-id>/upload/audio
    • PUT /me/music-nft/<draft-id>/upload/artwork
    • PUT /me/music-nft/<draft-id>/metadata
    • ...

Example

const metadata = trackMetadata({
       title: 'title',
       titleLocale: 'en',
       description: toMarkdown(`this is a description`),
       artists: [
         {
           name: 'The best Artist',
           role: ArtistRole.MAIN_ARTIST,
         },
         {
           name: 'Artist 2',
           role: ArtistRole.FEATURING,
         },
       ],
       contentType: MediaAudioMimeType.WAV_VND,
       artwork: 'https://bitsong.io/artwork.png',
       audio: 'https://bitsong.io/audio.mp3',
       duration: 100,
       license: LicenseType.NO_RIGHTS_RESERVED,
       genre: TrackGenre.DANCE,
       country: Country.ITALY,
       explicit: TrackExpicit.CLEAN,
       isrc: 'IT-ABC-12345',
       authors_publishers: [
         {
           name: 'Author 1',
           role: AuthorPublisherRole.COMPOSER,
         },
         {
           name: 'Author 2',
           role: AuthorPublisherRole.LYRICIST,
         },
       ],
       cLine: '2020 The Best Label',
       pLine: '2020 The Best Label',
       liveRecording: false,
       lyrics: toMarkdown(`this is a lyrics`),
       lyricsLocale: 'en',
       previousRelease: false,
       previewStartTime: 15,
       version: 'Radio Edit',
       video: 'https://bitsong.io/video.mp4',
       iswc: 'IT-ABC-12345',
       label: 'The Best Label',
     })

This feature will streamline the process of uploading and setting up Music NFTs on the platform, making it accessible and efficient for users.

@angelorc angelorc added enhancement New feature or request music-nft labels Jan 19, 2024 — with Volta.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request music-nft
Projects
None yet
Development

No branches or pull requests

1 participant