Your first transaction
A quick introduction to building with Modernbanc. In this example, we will create a basic transaction between two accounts.
Before creating accounts, you need to link the units you want to use in your workspace. Units are the currencies or any other measure you want to use in your accounts. You can read more about units here.
- Click on
Settings
in the main navigation dropdown, or pressG
and thenS
. - Click on the
Units
tab in the settings dropdown or pressG
and thenU
. - Click the
Enable
button next to the unit you want to use. In this case, we will useUnited States dollar
.
Accounts are the core of Modernbanc's accounting system. They are used to store balances and to keep track of anything measured in units (currency, tickets, materials, etc).
In order to store balances in the account, we need to specify what unit, or currency, the account will use. We can do this by attaching units to the account during the creation process.
- Leave the settings menu by clicking the back arrow in the top left corner.
- Naviate to the
Accounts
tab in the main navigation dropdown or pressG
and thenA
. - Click the
Create
button in the upper right corner. - Fill out the form with the following values:
- Name:
Quickstart - Account A
. - Unit:
United States dollar
.
- Name:
- Click
Create
on the bottom right of the form. - Navigate back to the
Accounts
tab and click theCreate
button again. - Repeat the above steps to create
Quickstart - Account B
. - Note: take note of the
Account identifier
on the left side of the list view for each account. You will need it in the next step. They will be formatted likeACT-43
.
Now that we have our two accounts, we can create a transaction between them. We will create a transaction from Quickstart - Account A
to Quickstart - Account B
.
Note: Please ensure the format of your amount aligns with the specified mode and precision settings for the unit. For example, if your unit mode is set to floats
and the precision is set at 2
, then your amount should be formatted as 100.00
. For a deeper understanding of how unit modes and precision settings affect your data, refer to our detailed guide here.
- Navigate to the
Transactions
tab in the settings dropdown or pressG
and thenT
. - Click the
Create
button in the upper right corner. - Fill out the form and click
Create
.- Enter a sample amount, like
200.00
, in theAmount
field. - In the
From
andTo
fields, select the accounts you created in the previous step. You can search by name, in this case just typequickstart
and they will show up.
- Enter a sample amount, like
- You should now see the transaction appear at the top of the transactions list.
Done!
Congratulations! You have created your first transaction in Modernbanc.
Next up: Workflows: Send Slack notification on transaction creation