|
4 | 4 |
|
5 | 5 | [](http://badge.fury.io/js/fabric-shim) |
6 | 6 |
|
7 | | -The `fabric-contract-api` provides the *contract interface* a high level API for application developers to implement [Smart Contracts](https://hyperledger-fabric.readthedocs.io/en/latest/glossary.html#smart-contract). Working with this API provides a high level entry point to writing business logic. |
| 7 | +The `fabric-contract-api` provides the *contract interface* a high level API for application developers to implement [Smart Contracts](https://hyperledger-fabric.readthedocs.io/en/release-2.1/glossary.html#smart-contract). Working with this API provides a high level entry point to writing business logic. |
8 | 8 |
|
9 | | -Within Hyperledger Fabric, Smart Contracts can also be referred to as [Chaincode](https://hyperledger-fabric.readthedocs.io/en/latest/glossary.html#chaincode). To be more specific, the term chaincode is preferred to be used to refer to the overall container that is hosting the contracts. |
| 9 | +Within Hyperledger Fabric, Smart Contracts can also be referred to as [Chaincode](https://hyperledger-fabric.readthedocs.io/en/release-2.1/glossary.html#chaincode). To be more specific, the term chaincode is preferred to be used to refer to the overall container that is hosting the contracts. |
10 | 10 |
|
11 | 11 | The `fabric-shim` provides the *chaincode interface*, a lower level API for implementing "Smart Contracts". It also _currently_ provides the implementation to support communication with Hyperledger Fabric peers for Smart Contracts written using the `fabric-contract-api`. To confirm that this is the same as the `fabric-shim` in previous versions of Hyperledger Fabric. |
12 | 12 |
|
13 | | -Detailed explanation on the concept and programming model can be found here: [http://hyperledger-fabric.readthedocs.io/en/latest/chaincode.html](http://hyperledger-fabric.readthedocs.io/en/latest/chaincode.html). |
| 13 | +Detailed explanation on the concept and programming model can be found here: [https://hyperledger-fabric.readthedocs.io/en/release-2.1/smartcontract/smartcontract.html](https://hyperledger-fabric.readthedocs.io/en/release-2.1/smartcontract/smartcontract.html). |
14 | 14 |
|
15 | 15 | ## Contract Interface |
16 | 16 |
|
@@ -89,7 +89,7 @@ npm install --save fabric-shim |
89 | 89 | ``` |
90 | 90 |
|
91 | 91 | ### Usage |
92 | | -The [chaincode interface](https://fabric-shim.github.io/ChaincodeInterface.html) contains two methods to be implemented: |
| 92 | +The [chaincode interface](https://hyperledger.github.io/fabric-chaincode-node/release-2.1/api/fabric-shim.ChaincodeInterface.html) contains two methods to be implemented: |
93 | 93 | ```javascript |
94 | 94 | const shim = require('fabric-shim'); |
95 | 95 |
|
@@ -124,7 +124,7 @@ shim.start(new Chaincode()); |
124 | 124 | ``` |
125 | 125 |
|
126 | 126 | ### API Reference |
127 | | -Visit [fabric-shim.github.io](https://fabric-shim.github.io/) and click on "Classes" link in the navigation bar on the top to view the list of class APIs. |
| 127 | +Visit [API Reference](https://hyperledger.github.io/fabric-chaincode-node/release-2.1/api/) and click on "Classes" link in the navigation bar on the top to view the list of class APIs. |
128 | 128 |
|
129 | 129 |
|
130 | 130 |
|
|
0 commit comments