Skip to content

app/integration/SR25519KeypairFactory.hpp

More...

Namespaces

Name
sgns

Classes

Name
class sgns::SR25519KeypairFactory

Detailed Description

Date: 2024-03-01 Henrique A. Klein ([email protected])

Source code

#ifndef _SR25519_KEYPAIR_FACTORY_HPP_
#define _SR25519_KEYPAIR_FACTORY_HPP_

#include "crypto/sr25519_types.hpp"

namespace sgns
{

    class SR25519KeypairFactory
    {
    public:
        std::shared_ptr<crypto::SR25519Keypair> create()
        {
            return std::make_shared<crypto::SR25519Keypair>();
        }
    };

}
#endif

Updated on 2026-03-04 at 13:10:44 -0800