Build With EVM 101
I. Description
This article will introduce the chains we currently support and related information. You can use the following addresses and links to quickly find the information you need to know, so that you can better develop and use Crust in the EVM ecosystem.
II. What is Crust?
Crust provides a decentralized storage network of Web3 ecosystem. It supports multiple storage layer protocols such as IPFS, and exposes storage interfaces to application layer. Crust's technical stack is also capable of supporting a decentralized computing layer. It is designed to build a decentralized cloud ecosystem that values data privacy and ownership. Moreover, you can find more detials in this.
III. The chains supported
1. Ethereum
Contracts:
- Storage order proxy address: 0xE391613d2056e47F74ED5eF1d443d4CDB21AAAd9
- Storage order implementation address: 0xF7cE6623EEa6D4D0432156A78b5468325B8C04f3
- Price oracle proxy address: 0xf8e6F7bb144D3475fcf39Bd879510Fa93C775ee2
- Price oracle implementation address: 0x9AE6C9d00Fde0e0F774693Ca6099d06dfe2001C6
Details:
More informatiom click this
2. Optimism
Contracts:
- Storage order proxy address: 0xf8e6F7bb144D3475fcf39Bd879510Fa93C775ee2
- Storage order implementation address: 0x9ae6c9d00fde0e0f774693ca6099d06dfe2001c6
- Price oracle proxy contract address: 0x0411EC483F45e0784361e9c633C1b63ece9837a0
- Price oracle implementation contract address: 0xe1e8ff8e51da7066cb1009a4c1de68ae2d095655
Details:
More informatiom click this
3. Arbitrum one
Contracts:
- Storage order proxy address: 0x9ae6c9d00fde0e0f774693ca6099d06dfe2001c6
- Storage order implementation address: 0xd220d916c2c11e7322ee0a8c9648d186946d4210
- Price oracle proxy address: 0x0411ec483f45e0784361e9c633c1b63ece9837a0
- Price oracle implementation address: 0xe1e8ff8e51da7066cb1009a4c1de68ae2d095655
Details:
More informatiom click this
4. zkSync
Contracts:
- Storage order proxy address:0xfa866AbF8F0b8f154654DEd956B2467dFB6A4135
- Storage order implementation address:0x873fad73BF4099E1AB7ceE07C69684f2b992083A
- Price oracle proxy address:0xF5aA6a13839aB7d6E0fe3E80DCE1A2440C791Cc8
- Price oracle implementation address:0xD0425F4DBf8A410eC9cC3de96F1cCfdFae5F4B08
Details:
More informatiom click this
IV. Usage
Functions for contract owner:
addSupportedToken: Add supported token.
addOrderNode: Add order node which will order and pin files.
removeSupportedToken: Remove supported token.
removeOrderNode: Remove order node.
setOrderPrice: Set price.
setServicePriceRate: Set price rate which indicates service price rate.
setSizeLimit: Set size limit.
Functions for users:
getPrice: Get price in ETH for file size specified by parameter "size".
placeOrder: Place order with cid and size in ETH, msg.value indicates the price user should pay for pinning node.
placeOrderWithNode: Same like placeOrder, the difference is that the pinning node is fixed by nodeAddress.