Skip to content

note89/bapti.sh

Repository files navigation

Welcome!

Let's leave this lobster unamed no longer!

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 )
  1. Run bapti.sh for fun and profit
./bapti.sh <wallet-name>

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

About

Cardano lobster challenge baptism script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages