Browse Source

updated repositories

subfolderRevert
Alejandro Criado-Pérez 3 years ago
committed by Jonathon Hammond
parent
commit
b14aa2bd92
  1. 4
      next.config.js
  2. 6
      src/pages/contributing/index.md
  3. 4
      src/pages/understand-stacks/accounts/index.md

4
next.config.js

@ -461,13 +461,13 @@ async function redirects() {
{
source: '/android/tutorial.html', // TODO: update once choice has been made on SDKs
destination:
'https://github.com/blockstack/docs.blockstack/blob/master-legacy/android/tutorial.md',
'https://github.com/stacks-network/docs/blob/master-legacy/android/tutorial.md',
permanent: true,
},
{
source: '/ios/tutorial.html', // TODO: update once choice has been made on SDKs
destination:
'https://github.com/blockstack/docs.blockstack/blob/master-legacy/ios/tutorial.md',
'https://github.com/stacks-network/docs/blob/master-legacy/ios/tutorial.md',
permanent: true,
},
{

6
src/pages/contributing/index.md

@ -34,7 +34,7 @@ To get started you have two options:
The web IDE gitpod provides an environment to contibute directly from within your browser.
To get started, you only have to a github account and open the link
[https://gitpod.io/#https://github.com/blockstack/docs](https://gitpod.io/#https://github.com/blockstack/docs) in your browser.
[https://gitpod.io/#https://github.com/stacks-network/docs](https://gitpod.io/#https://github.com/stacks-network/docs) in your browser.
### Working Locally
@ -48,9 +48,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).
All of the code for this site is open source, located at the [GitHub repository here](https://github.com/stacks-network/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/stacks-network/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:

4
src/pages/understand-stacks/accounts/index.md

@ -64,7 +64,7 @@ stx make_keychain -t > cli_keychain.json
Note that a new account automatically exists for each new private key. There is no need to manually instantiate an account on the Stacks 2.0 blockchain.
-> Addresses are created by generating the [RIPEMD-160 hash](https://en.wikipedia.org/wiki/RIPEMD#RIPEMD-160_hashes) of the [SHA256](https://en.bitcoinwiki.org/wiki/SHA-256) of the public key. BTC addresses are encoded with [Base58Check](https://en.bitcoin.it/wiki/Base58Check_encoding). For Stacks addresses, [c32check](https://github.com/blockstack/c32check) is used. Deriving an address from a public key can be done without internet access, for instance using the c32check `c32addressDecode` method.
-> Addresses are created by generating the [RIPEMD-160 hash](https://en.wikipedia.org/wiki/RIPEMD#RIPEMD-160_hashes) of the [SHA256](https://en.bitcoinwiki.org/wiki/SHA-256) of the public key. BTC addresses are encoded with [Base58Check](https://en.bitcoin.it/wiki/Base58Check_encoding). For Stacks addresses, [c32check](https://github.com/stacks-network/c32check) is used. Deriving an address from a public key can be done without internet access, for instance using the c32check `c32addressDecode` method.
Alternatively to the CLI creation, the [Stacks Transactions JS](https://github.com/hirosystems/stacks.js/tree/master/packages/transactions) library can be used:
@ -162,7 +162,7 @@ Sample response:
}
```
-> Stacks accounts cannot hold bitcoins. The best way to obtain corresponding BTC balances is to derive the BTC address from the Stacks address (using [`c32check`](https://github.com/blockstack/c32check#c32tob58-b58toc32)) and query the Bitcoin network.
-> Stacks accounts cannot hold bitcoins. The best way to obtain corresponding BTC balances is to derive the BTC address from the Stacks address (using [`c32check`](https://github.com/stacks-network/c32check#c32tob58-b58toc32)) and query the Bitcoin network.
### Get all asset events

Loading…
Cancel
Save