<gh_stars>0
# coding: utf-8
#
# Copyright (C) <NAME> 2021.
# Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).

from rest_framework import serializers

from .models import Wallet


class WalletSerializer(serializers.ModelSerializer):
    class Meta:
        model = Wallet
        fields = ["id", "currency", "address", "private_key", "index"]

# coding: utf-8
#
# Copyright (C) <NAME> 2021.
# Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).

from rest_framework import serializers

from .models import Wallet


class WalletSerializer(serializers.ModelSerializer):
    class Meta:
        model = Wallet
        fields = ["id", "currency", "address", "private_key", "index"]
# coding: utf-8 # # Copyright (C) <NAME> 2021. # Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).