A KERI witness that anchors key events on Cardano blockchain.
- Cardano Address is derived from the same Ed25519 seed (private key) used to derive the prefix of the backer
- Anchoring KELs from multiple prefixes
- Queue events during a period of time to allow several block confirmations as a safety meassure
- Optional funding address to fund the backer address
- keri-roots
- original
keripy
PR
pip install -e .
Check installation and available commands:
$ backer --help
usage: backer [-h] command ...
options:
-h, --help show this help message and exit
subcommands:
command
info Display registrar backer information
query Query KEL on ledger for a given prefix
start Runs KERI backer controller
./scripts/start_backer.sh
Check variables and environmental variables that you can pass to configure the backer.
This environmental variable is used by backer to provide the Private Key of spending address as CBOR Hex. Must be an Enterprice address (no Staking part) as PaymentSigningKeyShelley_ed25519. Note that storing private keys in an environmental variable is highly insecure !
This environmental variable is used by start_backer.sh
script to specify the directory to place the configuration files.
This environmental variable is used by start_backer.sh
script to specify the directory to create the database and keystore.
This environmental variable is used by start_backer.sh
script to specify the URL of the backer needed to resolve OOBI
and to receive queries from the agents.
This environmental variable is used by start_backer.sh
script to specify the PORT of the backer needed to resolve OOBI
and to receive queries from the agents.
This environmental variable is used by start_backer.sh
script that passes it to the kli init
as a SALT
parameter. It's a qualified base64 salt for creating key pairs, that means that you can regenerate a backer with same AID and Cardano address.
See DOCKER.md for instructions on how to deploy using Docker.
Yaci DevKit: A set of development tools for building on Cardano by creating a local devnet.
- Download yaci-cli and commponents by executing this script
./yaci-cli/download-components.sh
./yaci-cli/start-devnet.sh
After executing start-devnet.sh
, a default devnet will be created. Here are the default services
- WALLET_ADDRESS_CBORHEX: 5820339f8d1757c2c19ba62146d98400be157cdbbe149a4200bd9cc68ef457c201f8
- SPENDING_ADDRESS: addr_test1vrs5guudp8u6ryqmt4etlhkmgcr6qld7lc0y22r73amjtvqsqphu8
- Started ogmios : http://localhost:1337
- Started submit api : http://localhost:8090
- Swagger Url to interact with the cluster's node : http://localhost:10000/swagger-ui.html
./yaci-cli/stop-devnet.sh
./yaci-cli/yaci-cli
This section explains a few key commands specific to Yaci CLI.
yaci-cli:>create-node
To overwrite data or reset the existing default devnet, use the "-o" flag. Use --start flag to start the devnet after creation.
yaci-cli:>create-node -o
or,
yaci-cli:>create-node -o --start
Known Issue: Yaci DevKit uses a share folder to store the data on host machine. In some setup, this causes issue due to permission.
If you face similar issue and not able to start the devnet, you can remove volumes
section from docker-compose.yml
file and restart the docker compose.
It should work fine and create the devnet data in the docker container itself. Please check this issue for more details.
By default, Yaci DevKit creates a devnet with Babbage era. If you want to create a devnet with Conway era, use the following command.
yaci-cli:>create-node -o --era conway
To create devnet with a custom slots per epoch (By default 500 slots/epoch)
For example: Create and start a devnet with 30 slots per epoch
yaci-cli> create-node -o -e 30 --start
Now, you should be in the "devnet" context. To start the devnet, use the "start" command.
devnet:default>start
Note Now, with Yaci Viewer, you can conveniently check the devnet's data right from the browser. Simply open the following URL in your browser to access the Yaci Viewer.
If your devnet gets stuck or you simply want to reset the data and restart with the same configuration, simply use the command "reset". It will restore your devnet to its initial state, allowing you to continue your development seamlessly.
devnet:default>reset
devnet:default>stop
Easily fund your test account with ADA using the "topup" command.
devnet:default> topup <address> <ada value>
devnet:default> utxos <address>
devnet:default> default-addresses
devnet:default> info
For more details about Yaci CLI, please check https://yaci-cli.bloxbean.com .