Skip to the content.

File Storage Contract

Set up

Create a .env file with following fields。 pk is your wallet private key and RPC_URL is the rpc endpoint starts with https or http

RPC_URL=
PK=

Install dependencies

yarn

Build

yarn build

Test

yarn test

Deploy

yarn deploy --network testnet