Make token name configurable

This commit is contained in:
Adw8 2024-09-05 17:36:51 +05:30
parent 451395d4e5
commit cd4aacfaea
4 changed files with 16 additions and 15 deletions

View File

@ -27,7 +27,7 @@ The following commands have to be executed in [`nitro-bridge-setup`](./) directo
nitro_sc_pk: ""
# Private key for a funded account on L1
# This account should have Laconic tokens for funding Nitro channels
# This account should have tokens for funding Nitro channels
nitro_chain_pk: ""
# L1 chain ID (Sepolia: 11155111)
@ -40,11 +40,11 @@ The following commands have to be executed in [`nitro-bridge-setup`](./) directo
optimism_url: ""
# Private key for a funded account on L1 to use for contracts deployment on L1
geth_deployer_pk: ''
geth_deployer_pk: ""
# Private key for a funded account on L2 to use for contracts deployment on L2
# Use the same account for L1 and L2 deployments
optimism_deployer_pk: ''
optimism_deployer_pk: ""
```
- To run the nitro bridge, execute the `run-nitro-bridge.yml` Ansible playbook by running the following command.
@ -65,7 +65,7 @@ The following commands have to be executed in [`nitro-bridge-setup`](./) directo
- Run the following command in the directory where the bridge-deployment is created:
- Follow optimism contracts deployment logs:
- Check logs for deployments:
```bash
# Check the l2 nitro contract deployments

View File

@ -1,9 +1,10 @@
nitro_l1_chain_url: ''
nitro_l2_chain_url: ''
nitro_chain_pk: ''
nitro_sc_pk: ''
geth_chain_id: ''
geth_url: ''
optimism_url: ''
geth_deployer_pk: ''
optimism_deployer_pk: ''
nitro_l1_chain_url: ""
nitro_l2_chain_url: ""
nitro_chain_pk: ""
nitro_sc_pk: ""
geth_chain_id: ""
geth_url: ""
optimism_url: ""
geth_deployer_pk: ""
optimism_deployer_pk: ""
token_name: ""

View File

@ -8,7 +8,7 @@ config:
GETH_URL: {{ geth_url }}
OPTIMISM_URL: {{ optimism_url }}
OPTIMISM_DEPLOYER_PK: {{ optimism_deployer_pk }}
TOKEN_NAME: LaconicNetworkToken
TOKEN_NAME: {{ token_name }}
TOKEN_SYMBOL: LNT
INITIAL_TOKEN_SUPPLY: 129600
NA_ADDRESS: {{ na_address.stdout }}

View File

@ -4,7 +4,7 @@ config:
GETH_URL: {{ geth_url }}
GETH_CHAIN_ID: {{ geth_chain_id }}
GETH_DEPLOYER_PK: {{ geth_deployer_pk }}
TOKEN_NAME: LaconicNetworkToken
TOKEN_NAME: {{ token_name }}
TOKEN_SYMBOL: LNT
INITIAL_TOKEN_SUPPLY: 129600
network: