import db from '../db.js';
class BaseSDK {
    constructor(name) {
        this.name = name;
    }
    get db() {
        return db.chain.get(this.name);
    }
    write() {
        return db.write();
    }
}
export default BaseSDK;
