rsksmart / rif-marketplace-storage

Pinning contracts
4 stars 5 forks source link

RIF Marketplace Storage Pinning

npm i @rsksmart/rif-marketplace-storage

Warning: Contracts in this repo are in alpha state. They have not been audited and are not ready for deployment to main net! There might (and most probably will) be changes in the future to its API and working. Also, no guarantees can be made about its stability, efficiency, and security at this stage.

StorageManager contract

Message

The Provider can emit an arbitrary message in the function calls setOffer and emitMessage. The message is is initially intended to allow the Provider to communicate his nodeID, but may be used for other purposes later.

The client should be instructed to enforce the following semantics:

TypeScript typings

There are TypeScript typing definitions of the contracts published together with the original contracts in folder /types. Supported contract's libraries are:

So for example if you want to use Truffle typings then you should import the contract from @rsksmart/rif-marketplace-storage/types/truffle/....

Glossary