constructor(config: SSXServerConfig, session: SSXSessionCRUDConfig);
const ssx = new SSXServer({
providers: {
rpc: {
service: SSXRPCProviders.SSXInfuraProvider,
apiKey: process.env.INFURA_ID,
network: SSXInfuraProviderNetworks.GOERLI,
}
}
}, {
create: async <T>(value: any, opts?: Record<string, any>): Promise<T> => { },
retrieve: async <T>(key: any, opts?: Record<string, any>): Promise<T> => { },
update: async <T>(key: any, value: any, opts?: Record<string, any>): Promise<T> => { },
delete: async <T>(key: any): Promise<T> => { },
});