Add README
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
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
This commit is contained in:
parent
36e89b5a78
commit
fd00143b76
@ -0,0 +1,51 @@
|
|||||||
|
# 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
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user