Skip to content

💥 A simple framework for building Tendermint applications

License

Notifications You must be signed in to change notification settings

davebryson/breezy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Breezy

A simple framework for building Tendermint applications. Primarily intended for rapid prototypes/demos.

What does it look like?

const breezy = require('breezy);

app = breezy.app('./homedir');

// load something at genesis
app.onInitChain((db) => {
    // ...
});

// Do a state transistion
app.onTx('hello', async (ctx) => {
    return {
        code: 0
    }
});


// Do queries against state
app.onQuery('name', async (key ctx) => {
    let v = await ctx.get(keyname);
    return v.attribute;
})

// Start the ABCI server
app.runWithNode();

See the example directory.

About

💥 A simple framework for building Tendermint applications

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published