stack-orchestrator/stack_orchestrator/data/stacks/linea-testnet-nitro-auth
Thomas E Lackey fd00143b76
Some checks failed
Lint Checks / Run linter (pull_request) Successful in 55s
Webapp Test / Run webapp test suite (pull_request) Failing after 4m55s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m51s
Smoke Test / Run basic test suite (pull_request) Successful in 5m36s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 10m57s
Add README
2024-04-01 16:06:52 -05:00
..
README.md Add README 2024-04-01 16:06:52 -05:00
stack.yml Linea Sepolia Testnet-based Nitro Auth 2024-04-01 15:53:01 -05:00

linea-testnet-nitro-auth

Deployes a demo stack for Nitro-based auth using the Linea Sepolia testnet.

Clone required repositories

$ laconic-so --stack linea-testnet-nitro-auth setup-repositories

Build containers

$ laconic-so --stack linea-testnet-nitro-auth build-containers

Create a deployment

$ laconic-so --stack linea-testnet-nitro-auth deploy init --map-ports-to-host any-same --output linea-testnet-nitro-auth-spec.yml
$ laconic-so --stack linea-testnet-nitro-auth deploy create --spec-file linea-testnet-nitro-auth-spec.yml --deployment-dir linea-testnet-nitro-auth-deployment

Set your keys

You must set the private keys for two accounts with funds on the target network. You must also set the URL to use for a WebSocket connection, eg, wss://linea-sepolia.infura.io/ws/v3/<MY_API_KEY>

# For the first account (payer).
$ vim linea-testnet-nitro-auth-deployment/config/alice.env

CERC_NITRO_CHAIN_PK=<MY_PRIVATE_KEY>
CERC_NITRO_CHAIN_URL=wss://linea-sepolia.infura.io/ws/v3/<MY_API_KEY>

# For the second account (payee).
$ vim linea-testnet-nitro-auth-deployment/config/bob.env

CERC_NITRO_CHAIN_PK=<MY_PRIVATE_KEY>
CERC_NITRO_CHAIN_URL=wss://linea-sepolia.infura.io/ws/v3/<MY_API_KEY>

# For the bootnode, just set the URL.
$ vim linea-testnet-nitro-auth-deployment/config/bootnode.env

CERC_NITRO_CHAIN_URL=wss://linea-sepolia.infura.io/ws/v3/<MY_API_KEY>

Start the stack

$ laconic-so deployment --dir linea-testnet-nitro-auth-deployment start