Sequence is an API that store validate and reports asset movements. Also known as a Ledger. Sequence is immutable, scalable, and easy to use.
The key features of Sequence are:
Multi-Currency: Store, move and analyse any asset, from regular currencies like USD, to shelf items.
Multi-Tenant: Run multiple ledgers using the same infrastructure. Simply setup multiple tenants in the configurations and use the different API keys.
No-SQL powered: Sequence runs on top of a No-SQL database. It is horizontally scalable from the 12-factors container to the persistency layer.
Immutable: Most existing ledger use database updates. This is bad for a ledger. Sequence is immutable. The design of the database allows for consistency of balances without a single field using updateds.
API simplicity: Sequence creates things as you use them. When you send value to an account, it is gets created if it does not exist. It gets out of the way. Use it, and things will work.
Analytics: Send asset movement events to multiple destinations. Use it for analytics, fraud-detection, anything.
git clone https://github.com/decimals/sequence.git cd sequence docker-compose up
docker run -p 8000:8000 amazon/dynamodb-local docker run -p 8910:8910 docker.pkg.github.com/decimals/sequence/sequence:0.0.1
All configurations are loaded from environment variables. The available configurations are:
|environment variable||configuration||dev profile|
||The host for the DynamoDB instance. Mostly used for local development.||
||Optional Segment.io key to generate analytics events.|
||A string with a list of tenants and their
||A list of accepted CORS hosts. Example:
Configurations can also be loaded from the
profiles.clj file, where the dev configurations are setup.
(def dev-serv (start-dev))