Skip to content

Commit

Permalink
Mainnet (#346)
Browse files Browse the repository at this point in the history
* changed rpc endpoints to https://rpc.archway.tech:443

- updated rpc and api endpoints

* added mainnet data to keplr-integration.md

* added network component to store-instantiate-contract

* added mainnet data

* added mainnet component for archway-1 and https://rpc.archway.tech

* reverted prefix to archway for constantine

* added mainnet component for https://rpc.archway.tech:443 and archway-1

* added mainnet info to managing-rewards.md

* added mainnet info to rewards-reference.md and consensus-fe.md pages

* updated networks.md page with available mainnet info

* replaced mainnet rpc to http://rpc.mainnet.archway.io/

* replaced mainnet grpc endpoint to  http://grpc.mainnet.archway.io/

* added seed and updated blockexplorers links

* mainnet updates

* from v1.0.0-rc.3 to v1.0.0

* updated docker image and rpc, api endpoints

* removed persistent peers

* Update content/2.developers/3.guides/5.fee-grant/3.utilize-grant.md
  • Loading branch information
lufa23 authored Jul 3, 2023
1 parent 97a80e6 commit 7ebed61
Show file tree
Hide file tree
Showing 34 changed files with 2,107 additions and 122 deletions.
4 changes: 2 additions & 2 deletions content/2.developers/1.getting-started/1.install.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,15 @@ Build and install:
::highlight-card
```bash
docker build -t archway-network/archwayd:latest .
docker build -t ghcr.io/archway-network/archwayd:v1.0.0 .
```
::
Or pull from Docker Hub:
::highlight-card
```
docker pull archwaynetwork/archwayd:latest
docker pull ghcr.io/archway-network/archwayd:v1.0.0
```
::
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,77 @@ You can pull in the minimum price of gas via the following API endpoint https://

Commands executed via the **archwayd** CLI can pull in the minimum price of gas by accessing the **estimate-fees** command:


::tab-card{noOfTabs=2}
#title0
mainnet

#desc0
::highlight-card

```bash
$(archwayd q rewards estimate-fees 1 --node 'http://rpc.mainnet.archway.io/' --output json | jq -r '.gas_unit_price | (.amount + .denom)')
```


::

#title1
testnet

#desc1
::highlight-card

```bash
$(archwayd q rewards estimate-fees 1 --node 'https://rpc.constantine.archway.tech:443' --output json | jq -r '.gas_unit_price | (.amount + .denom)')
```


::

::



For example, to send tokens from one wallet to another, the following could be done:




::tab-card{noOfTabs=2}
#title0
mainnet

#desc0
::highlight-card

```bash
archwayd tx bank send archway1e2ntjy39x4gqn3tqu09ztjpjp4hf9q6u47w30u archway19vprdtfha0xsls0qlwqj2sas32nqqtf4ee9z58 1000000000000000000000aconst --chain-id constantine-3 --from my-wallet --node 'https://rpc.constantine.archway.tech:443' --gas auto --gas-adjustment 1.4 --gas-prices $(archwayd q rewards estimate-fees 1 --node 'https://rpc.constantine.archway.tech:443' --output json | jq -r '.gas_unit_price | (.amount + .denom)')
archwayd tx bank send archway1e2ntjy39x4gqn3tqu09ztjpjp4hf9q6u47w30u archway19vprdtfha0xsls0qlwqj2sas32nqqtf4ee9z58 1000000000000000000000aarch --chain-id archway-1 --from my-wallet --node http://rpc.mainnet.archway.io/ --gas auto --gas-adjustment 1.4 --gas-prices $(archwayd q rewards estimate-fees 1 --node 'http://rpc.mainnet.archway.io/' --output json | jq -r '.gas_unit_price | (.amount + .denom)')
```
::

#title1
testnet

#desc1
::highlight-card

```bash
archwayd tx bank send archway1e2ntjy39x4gqn3tqu09ztjpjp4hf9q6u47w30u archway19vprdtfha0xsls0qlwqj2sas32nqqtf4ee9z58 1000000000000000000000aconst --chain-id constantine-3 --from my-wallet --node https://rpc.constantine.archway.tech:443 --gas auto --gas-adjustment 1.4 --gas-prices $(archwayd q rewards estimate-fees 1 --node 'https://rpc.constantine.archway.tech:443' --output json | jq -r '.gas_unit_price | (.amount + .denom)')
```
::

::










Merely configuring the **--gas-prices** isn't always the optimal choice, given that the default **--gas** value of **200000** and default **--gas-adjustment** value of **1** may not suffice for every transaction, such as when storing a contract. Therefore, it's suggested to set **--gas** to **auto** and employ a **--gas-adjustment** of **1.3** or **higher**, as demonstrated in the preceding example.

## Fee calculation
Expand Down
Loading

0 comments on commit 7ebed61

Please sign in to comment.