Skip to content

Commit

Permalink
Merge pull request #496 from oasisprotocol/matevz/fix-broken-links
Browse files Browse the repository at this point in the history
docs: Fix broken links
  • Loading branch information
matevz authored Aug 16, 2023
2 parents b9f8b57 + c4a4024 commit a26307f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ You can view the available reference data on the [Band Standard Dataset site her

### Bandchain.js {#bandchain}

Band also has a javascript library that makes it easy to interact with BandChain directly from Javascript or Typescript applications. The library provides classes and methods for convenient to send transactions, query data, OBI encoding, and wallet management. You can read more about it [here](https://docs.bandchain.org/client-library/bandchain.js/getting-started.html).
Band also has a JavaScript library that makes it easy to interact with BandChain directly from JavaScript or TypeScript applications. The library provides classes and methods for convenient to send transactions, query data, OBI encoding, and wallet management. You can read more about it [here](https://docs.bandchain.org/develop/developer-tools/bandchain.js/getting-started).

[demooracle-remix]: https://remix.ethereum.org/?#code=cHJhZ21hIHNvbGlkaXR5IDAuNi4xMTsKcHJhZ21hIGV4cGVyaW1lbnRhbCBBQklFbmNvZGVyVjI7CgppbnRlcmZhY2UgSVN0ZFJlZmVyZW5jZSB7CiAgICAvLy8gQSBzdHJ1Y3R1cmUgcmV0dXJuZWQgd2hlbmV2ZXIgc29tZW9uZSByZXF1ZXN0cyBmb3Igc3RhbmRhcmQgcmVmZXJlbmNlIGRhdGEuCiAgICBzdHJ1Y3QgUmVmZXJlbmNlRGF0YSB7CiAgICAgICAgdWludDI1NiByYXRlOyAvLyBiYXNlL3F1b3RlIGV4Y2hhbmdlIHJhdGUsIG11bHRpcGxpZWQgYnkgMWUxOC4KICAgICAgICB1aW50MjU2IGxhc3RVcGRhdGVkQmFzZTsgLy8gVU5JWCBlcG9jaCBvZiB0aGUgbGFzdCB0aW1lIHdoZW4gYmFzZSBwcmljZSBnZXRzIHVwZGF0ZWQuCiAgICAgICAgdWludDI1NiBsYXN0VXBkYXRlZFF1b3RlOyAvLyBVTklYIGVwb2No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iAgICAgICAgcmV0dXJuIGRhdGEucmF0ZTsKICAgIH0KCiAgICBmdW5jdGlvbiBnZXRNdWx0aVByaWNlcygpIGV4dGVybmFsIHZpZXcgcmV0dXJucyAodWludDI1NltdIG1lbW9yeSl7CiAgICAgICAgc3RyaW5nW10gbWVtb3J5IGJhc2VTeW1ib2xzID0gbmV3IHN0cmluZ1tdKDIpOwogICAgICAgIGJhc2VTeW1ib2xzWzBdID0gIldCVEMiOwogICAgICAgIGJhc2VTeW1ib2xzWzFdID0gIkVUSCI7CgogICAgICAgIHN0cmluZ1tdIG1lbW9yeSBxdW90ZVN5bWJvbHMgPSBuZXcgc3RyaW5nW10oMik7CiAgICAgICAgcXVvdGVTeW1ib2xzWzBdID0gIlVTRCI7CiAgICAgICAgcXVvdGVTeW1ib2xzWzFdID0gIlVTRCI7CiAgICAgICAgSVN0ZFJlZmVyZW5jZS5SZWZlcmVuY2VEYXRhW10gbWVtb3J5IGRhdGEgPSByZWYuZ2V0UmVmZXJlbmNlRGF0YUJ1bGsoYmFzZVN5bWJvbHMscXVvdGVTeW1ib2xzKTsKCiAgICAgICAgdWludDI1NltdIG1lbW9yeSBwcmljZXMgPSBuZXcgdWludDI1NltdKDIpOwogICAgICAgIHByaWNlc1swXSA9IGRhdGFbMF0ucmF0ZTsKICAgICAgICBwcmljZXNbMV0gPSBkYXRhWzFdLnJhdGU7CgogICAgICAgIHJldHVybiBwcmljZXM7CiAgICB9CgogICAgZnVuY3Rpb24gc2F2ZVByaWNlKHN0cmluZyBtZW1vcnkgYmFzZSwgc3RyaW5nIG1lbW9yeSBxdW90ZSkgZXh0ZXJuYWwgewogICAgICAgIElTdGRSZWZlcmVuY2UuUmVmZXJlbmNlRGF0YSBtZW1vcnkgZGF0YSA9IHJlZi5nZXRSZWZlcmVuY2VEYXRhKGJhc2UscXVvdGUpOwogICAgICAgIHByaWNlID0gZGF0YS5yYXRlOwogICAgfQp9Cg==
15 changes: 9 additions & 6 deletions docs/dapp/opl/frontend.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Frontend Application

We will need a [Pinata](https://www.pinata.cloud) development API
[key](https://docs.pinata.cloud/master) and JWT with the `pinFileToIPFS`
permission. Let's obtain that first.
[key](https://docs.pinata.cloud/docs/getting-started#2-generate-your-api-keys)
and JWT with the `pinFileToIPFS` permission. Let's obtain that first.

### VueJS

Expand Down Expand Up @@ -50,8 +50,9 @@ VITE_DAO_V1_ADDR=0xFBcb580DD6D64fbF7caF57FB0439502412324179

### Pinata

Additionally, we will need a [Pinata](https://www.pinata.cloud) API [key](https://docs.pinata.cloud/pinata-api/authentication) to access the pinning
service with which we store our ballots as JSON.
Additionally, we will need a [Pinata](https://www.pinata.cloud) JWT
[key](https://docs.pinata.cloud/reference/datatestauthentication) to access the
pinning service with which we store our ballots as JSON.

```yaml
VITE_PINATA_JWT=
Expand All @@ -66,9 +67,11 @@ pnpm run dev

### MetaMask

You can use one of the deployed test accounts and associated private key with [MetaMask](https://metamask.io).
You can use one of the deployed test accounts and associated private key with
[MetaMask](https://metamask.io).

If you have not added a local network to MetaMask already, you can use this configuration.
If you have not added a local network to MetaMask already, you can use this
configuration.

#### Localhost

Expand Down
2 changes: 1 addition & 1 deletion docs/dapp/opl/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ By the end of this tutorial, we will have:
- used [Hardhat](https://hardhat.org/docs) development environment for OPL
- used [Hardhat Deploy](https://github.com/wighawag/hardhat-deploy) to deploy
smarts contracts to a testnet.
- used [Pinata](https://docs.pinata.cloud/what-can-i-learn-here/what-is-pinata)
- used [Pinata](https://www.pinata.cloud)
to store simple JSON data. Not everything has to go on a blockchain.
- used [Celer](https://im-docs.celer.network/developer/celer-im-overview) to
pass messages cross multiple chains
Expand Down
4 changes: 2 additions & 2 deletions docs/general/oasis-network/why-oasis.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ The Oasis Foundation has been working with many talented dev teams via our [Gran
* [Dead Man’s Switch](https://medium.com/oasis-protocol-project/devaccelerator-spotlight-dead-mans-switch-32d07cdfc057): A decentralized, censorship-resistant tool for whistleblowers
* [Luther.ai:](https://luther.ai) Building artificial intelligence to Retain, Reinforce, Recall and ultimately augment your human memory.
* [Oasis.Fish (by Stakefish)](https://oasis.fish/leaderboard/)
* [Oasis Hubble (by Figment Networks)](https://www.figment.io/hubble)
* [Oasis Hubble (by Figment Networks)](https://www.figment.io/)
* [Oasis Monitor (by Everstake)](https://oasismonitor.com)
* [Oasisscan (by bitcat)](https://oasisscan.com)
* [Oasis Smartstake (by Smartstake)](https://oasis.smartstake.io): Providing validation services for the Oasis Network
Expand All @@ -165,7 +165,7 @@ The Oasis Team is made up of world-leading researchers, security experts, and pr

#### [Oasis Foundation](https://www.linkedin.com/company/oasisprotocol/)

* [See team page on our website](https://oasisprotocol.org/about-us)
* [See team page on our website](https://oasisprotocol.org)

#### [Oasis Labs](https://www.linkedin.com/company/oasis-labs)

Expand Down

0 comments on commit a26307f

Please sign in to comment.