Browse Source

Fixed links

feat/mainnet-updates
Alexander Keating 4 years ago
committed by Alexander Graebe
parent
commit
41b6adeaa9
  1. 2
      README.md
  2. 4
      src/pages/ecosystem/contributing.md
  3. 2
      src/pages/write-smart-contracts/public-registry-tutorial.md

2
README.md

@ -14,7 +14,7 @@ If you are interested in contributing to the site and making changes, please ref
The `src/_data/cli-reference.json` file is generated from the `blockstack-cli` subcommand `docs`.
1. Install the latest version of the cli according to the instructions at: https://github.com/blockstack/cli-blockstack
1. Install the latest version of the cli according to the instructions at: https://github.com/blockstack/stacks.js/tree/master/packages/cli
2. Generate the json for the cli in the `docs.blockstack` repo.

4
src/pages/ecosystem/contributing.md

@ -44,9 +44,9 @@ When workin locally with the site, a few things are needed:
### Working with GitHub
All of the code for this site is open source, located at the [GitHub repository here](https://github.com/blockstack/docs.blockstack).
All of the code for this site is open source, located at the [GitHub repository here](https://github.com/blockstack/docs).
Before you start editing anything, you will need to fork the repo so that you can have your own copy of the code under
your GitHub profile. On the [repository's page](https://github.com/blockstack/docs.blockstack), you should be able to
your GitHub profile. On the [repository's page](https://github.com/blockstack/docs), you should be able to
see a button in the upper right of the screen that says "Fork". [You can read about Forking here.](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo)
This is a generalized workflow for contributing to these docs:

2
src/pages/write-smart-contracts/public-registry-tutorial.md

@ -122,7 +122,7 @@ export const PublicUrlRegistrar = ({ userSession }) => {
It is a simple button that calls `doContractCall` method of the Connect library when clicked. The method makes an api call to the Stacks authenticator. The authenticator creates a contract call transaction that is signed by the user and then it is broadcasted to the Stacks 2.0 blockchain as explained in the [transaction signing tutorial](/write-smart-contracts/signing-transactions).
Note how the arguments are created using `bufferCVFromString`. There are similar methods for all other Clarity types, like `uintCV` or `trueCV`. See the [documentation](https://github.com/blockstack/stacks-transactions-js#constructing-clarity-values) of the stacks-transactions library for more details.
Note how the arguments are created using `bufferCVFromString`. There are similar methods for all other Clarity types, like `uintCV` or `trueCV`. See the [documentation](https://github.com/blockstack/stacks.js/tree/master/packages/transactions#constructing-clarity-values) of the stacks-transactions library for more details.
### Step 3: Integrate the component in the app

Loading…
Cancel
Save