An open API service indexing awesome lists of open source software.

https://github.com/note89/bapti.sh

Cardano lobster challenge baptism script
https://github.com/note89/bapti.sh

Last synced: 10 months ago
JSON representation

Cardano lobster challenge baptism script

Awesome Lists containing this project

README

          

# Welcome!

**Let's leave this lobster unamed no longer!**

![Charles and his lobster](lobster.jpg "Charles and his lobster")

This repo will help you be part of this momentus milestone.
The script will

* Generate a new wallet
* Tell you where to send 2 ada
* Automatically Submit a transaction to the lobster challenge
* Get us one step closer to giving this lobster a name!

### Prerequisites
1. Daedalus or a Cardano-node synced and running
2. cardano-cli
Download the executables for the `cardano-cli` here
https://github.com/input-output-hk/cardano-node/tree/1.29.1

### How to use

1. Start Daedalus or a sepperate cardano node.
2. Set `CARDANO_NODE_SOCKET_PATH`
```
export CARDANO_NODE_SOCKET_PATH=$(ps ax | grep -v grep | grep cardano-wallet | grep mainnet | sed -r 's/(.*)node-socket //' | grep cardano-node.socket )
```

3. Run `bapti.sh` for fun and profit

```
./bapti.sh
```

### Example

```
./bapti.sh lobsterWallet
```

### CARDANO_NODE_SOCKET_PATH Envirionment variable explanation

You need to set the `CARDANO_NODE_SOCKET_PATH` to where you have your cardano node socket set.
If you already have a node running you can set it with the following command.

```
export CARDANO_NODE_SOCKET_PATH=$(ps ax | grep -v grep | grep cardano-wallet | grep mainnet | sed -r 's/(.*)node-socket //' | grep cardano-node.socket )
echo $CARDANO_NODE_SOCKET_PATH
```

https://cardano.stackexchange.com/questions/895/using-cardano-node-installed-by-daedalus-as-cli

lobster-challenge repo
https://github.com/input-output-hk/lobster-challenge