Skip to content

Commit

Permalink
Update Readme & Dockerfile (#73)
Browse files Browse the repository at this point in the history
* Update Readme & Dockerfile

* fix
  • Loading branch information
Szegoo authored Aug 29, 2023
1 parent 2b374e7 commit 1decf09
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ WORKDIR /app
COPY . .

# Set `cargo test` as executable.
ENTRYPOINT ["/usr/local/cargo/bin/cargo", "test"]
ENTRYPOINT ["/usr/local/cargo/bin/cargo", "test", "--features", "e2e-tests"]
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,23 @@ This way the other user will be able to decrypt and access his addresses.

## Deployment

The contract is currently deployed on [Astar Shibuya](https://docs.astar.network/docs/build/Introduction/astar_family/#shibuya) and is used by the frontend when running locally.
The contracts are currently deployed on [Rococo-contracts](https://use.ink/testnet/) and is used by the frontend when running locally.

Contract address: Yib3XD3rkKWstaCB6P3FYCuWu2gZ4nwLoi6x9w8e9UoLNjh
Identity contract address: 5D2uA3EdePpH3iMsfzNLPkwQEy82iC2BEXpKJc3d1uvvTQht

Address book contract address:
5FKEDvAorCAv4kFZnQxKg2wugkHGz43J18SCFcEBdhdFnn81

### Deployment on Rococo-contracts

To interact or deploy the contracts you will need to have some ROC tokens on the rococo-contracts parachain. Follow the steps on this page to get some tokens: [how to get ROC](https://use.ink/testnet/#2-get-testnet-tokens)

To deploy the contract on rococo-contracts you can follow this [documentation page](https://use.ink/testnet/)

### Deployment on Astar Shibuya

We were initially deploying our project to Shibuya, but we were running into some problems with the Shibuya RPC nodes so for that reason we switched to the rococo-contracts parachain.

To deploy the contract on the testnet you first need to obtain some Astar SBY tokens.

The easiest way to get SBY tokens is to go to the [Astar Portal](https://portal.astar.network/) login in with a wallet and select the Shibuya network. After that use the faucet option to get some tokens for the deployment.
Expand All @@ -45,7 +57,6 @@ After successfully getting some SBY tokens you will need to build the contract t

Finally, to deploy the contract go to [Polkadot.js](https://polkadot.js.org/) and connect to the Shibuya network. Once Shibuya network is selected you will be able to Developer -> Contract section where you can deploy the contract.


## Build & Test Locally
1. Make sure to have the latest [cargo contract](https://crates.io/crates/cargo-contract).
2. Clone the GitHub repository:
Expand Down

0 comments on commit 1decf09

Please sign in to comment.