Skip to content

Commit

Permalink
Merge pull request rarible#396 from VitalyLyaper/feature/change-code-…
Browse files Browse the repository at this point in the history
…snippets

"type: docs"
  • Loading branch information
VitalyLyaper authored Oct 13, 2022
2 parents 777b2fc + 25c5e0d commit 4cf2835
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
15 changes: 8 additions & 7 deletions docs/getting-started/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,19 @@ We will create ERC-721 Lazy Minting NFT and list it in the Ethereum network to s

## Installation

Installing Rarible SDK using We3:
```shell
npm install -D @rarible/sdk
npm install [email protected]
npm install [email protected]
yarn add @rarible/sdk
yarn add [email protected]
yarn add [email protected]
```

or using yarn
or using Ethers:

```shell
yarn add @rarible/sdk -D
yarn add web3
yarn add @rarible/sdk
yarn add [email protected]
yarn add [email protected]
```

Check that the SDK is installed correctly:
Expand Down Expand Up @@ -58,7 +59,7 @@ Here is an example of creating all supported providers:
In `createRaribleSdk`, we have several environment parameters:

* `prod` (mainnet)
* `testnet` (rinkeby)
* `testnet` (goerli)

The difference between them is the chain Id and the Rarible API endpoint.

Expand Down
18 changes: 9 additions & 9 deletions docs/reference/contract-addresses.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ Here you can find Rarible Smart Contracts deployed instances across Mainnet, Tes

## Testnet

| Contract Addresses | Testnet (Rinkeby, Mumbai) |
| Contract Addresses | Testnet (Goerli, Mumbai) |
|------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|
| **Ethereum** | |
| Asset Contract ERC-721 | [0x6ede7f3c26975aad32a475e1021d8f6f39c89d82](https://rinkeby.etherscan.io/address/0x6ede7f3c26975aad32a475e1021d8f6f39c89d82) |
| Asset Contract ERC-1155 | [0x1AF7A7555263F275433c6Bb0b8FdCD231F89B1D7](https://rinkeby.etherscan.io/address/0x1AF7A7555263F275433c6Bb0b8FdCD231F89B1D7) |
| Exchange Contract | [0xd4a57a3bD3657D0d46B4C5bAC12b3F156B9B886b](https://rinkeby.etherscan.io/address/0xd4a57a3bD3657D0d46B4C5bAC12b3F156B9B886b) |
| External Royalties | [0xdA8e7D4cF7BA4D5912a68c1e40d3D89828fA6EE8](https://rinkeby.etherscan.io/address/0xdA8e7D4cF7BA4D5912a68c1e40d3D89828fA6EE8) |
| NFT Transfer Proxy (for Approvals) | [0x7d47126a2600E22eab9eD6CF0e515678727779A6](https://rinkeby.etherscan.io/address/0x7d47126a2600E22eab9eD6CF0e515678727779A6) |
| ERC-721 Token Factory | [0x62e0BDC23435321adFf249d6f41e11AEee6486Cf](https://rinkeby.etherscan.io/address/0x62e0BDC23435321adFf249d6f41e11AEee6486Cf) |
| ERC-1155 Token Factory | [0xB1Bcf905495AFf06e854904d7b2d6647ab00Cd1d](https://rinkeby.etherscan.io/address/0xB1Bcf905495AFf06e854904d7b2d6647ab00Cd1d) |
| Exchange Wrapper | [0xBa1a8691Ac46b9F622765cdD18AC54aF745bb87C](https://rinkeby.etherscan.io/address/0xBa1a8691Ac46b9F622765cdD18AC54aF745bb87C) |
| Asset Contract ERC-721 | [0xD8560C88D1DC85f9ED05b25878E366c49B68bEf9](https://goerli.etherscan.io/address/0xD8560C88D1DC85f9ED05b25878E366c49B68bEf9) |
| Asset Contract ERC-1155 | [0x7c4B13B5893cD82f371c5e28f12FB2F37542BbC5](https://goerli.etherscan.io/address/0x7c4B13B5893cD82f371c5e28f12FB2F37542BbC5) |
| Exchange Contract | [0x02afbD43cAD367fcB71305a2dfB9A3928218f0c1](https://goerli.etherscan.io/address/0x02afbD43cAD367fcB71305a2dfB9A3928218f0c1) |
| External Royalties | [0xfeC0F8d936B9cBa92a332bCB06dC7DF4DdE0c253](https://goerli.etherscan.io/address/0xfeC0F8d936B9cBa92a332bCB06dC7DF4DdE0c253) |
| NFT Transfer Proxy (for Approvals) | [0x21B0B84FfAB5A8c48291f5eC9D9FDb9aef574052](https://goerli.etherscan.io/address/0x21B0B84FfAB5A8c48291f5eC9D9FDb9aef574052) |
| ERC-721 Token Factory | [0x66a1037a48b6A2469cF740aD9Ac42BD47eDF9573](https://goerli.etherscan.io/address/0x66a1037a48b6A2469cF740aD9Ac42BD47eDF9573) |
| ERC-1155 Token Factory | [0xf6dFfCB8E97c7F32f6bb6F0fad60b9D1ED661ba6](https://goerli.etherscan.io/address/0xf6dFfCB8E97c7F32f6bb6F0fad60b9D1ED661ba6) |
| Exchange Wrapper | [0x077a80E66D84eECAA757B161A878189795c8e184](https://goerli.etherscan.io/address/0x077a80E66D84eECAA757B161A878189795c8e184) |
| **Flow** | |
| RaribleNFT | [A.ebf4ae01d1284af8.RaribleNFT](https://testnet.flowscan.org/contract/A.ebf4ae01d1284af8.RaribleNFT) |
| RaribleOrder | [A.ebf4ae01d1284af8.RaribleOrder](https://testnet.flowscan.org/contract/A.ebf4ae01d1284af8.RaribleOrder) |
Expand Down

0 comments on commit 4cf2835

Please sign in to comment.