Mediolano - a dapp designed to be the intellectual property provider service of the web3, built on Starknet.
In today’s ever-evolving digital world, protecting and managing intellectual property (IP) has become a critical challenge. From journalists to art collectors, new technologies are making it safer and more efficient to tokenize IP, enabling licensing, trading, distributing royalties, and more.
Mediolano offers an innovative platform that empowers content creators, from authors to journalists and publishers, to participate in the global information marketplace. Our mission is to transform the industry by providing transparency, immutability, security, optimization, and a range of innovative features to build, manage, and monetize IP.
Powered by Starknet
Before you begin, you need to install the following tools:
To ensure the proper functioning of scaffold-stark, your local starknet-devnet
version must be 0.0.4
. To accomplish this, first check your local starknet-devnet version:
starknet-devnet --version
If your local starknet-devnet version is not 0.0.4
, you need to install it.
cargo install starknet-devnet --version 0.0.4
To ensure the proper functioning of scaffold-stark, your local Scarb
version must be 2.6.5
. To accomplish this, first check your local Scarb version:
scarb --version
If your local Scarb version is not 2.6.5
, you need to install it.
2.6.5
via asdf
(instructions).To ensure the proper functioning of the tests on scaffold-stark, your Starknet Foundry version must be 0.27.0. To accomplish this, first check your Starknet Foundry version:
snforge --version
If your Starknet Foundry version is not 0.27.0
, you need to install it.
0.27.0
via asdf
(instructions).Make sure you have the compatible versions otherwise refer to Scaffold-Stark Requirements
Then download the your computer and install dependencies by running:
git clone https://github.com/mediolano-app/mediolano-stark.git mediolano-stark
cd mediolano-stark
yarn install
in the same terminal, start your local network (a local instance of a blockchain):
yarn chain
in a second terminal window, 🛰 deploy your contract (locally):
cd mediolano-stark
yarn deploy
in a third terminal window, start your 📱 frontend:
cd mediolano-stark
yarn start
📱 Open http://localhost:3000 to see the app.
Deploy your NextJS App
yarn vercel
Follow the steps to deploy to Vercel. Once you log in (email, github, etc), the default options should work. It'll give you a public URL.
If you want to redeploy to the same production URL you can run
yarn vercel --prod
. If you omit the--prod
flag it will deploy it to a preview/test URL.
⚠️ Run the automated testing function to make sure your app passes
yarn test
By default, Scaffold-Stark provides predefined Open API endpoint for some services such as Blast. This allows you to begin developing and testing your applications more easily, avoiding the need to register for these services.
For production-grade applications, it's recommended to obtain your own API keys (to prevent rate limiting issues). You can configure these at:
🔷 RPC_URL_SEPOLIA
variable in packages/snfoundry/.env
and packages/nextjs/.env.local
. You can create API keys from the Alchemy dashboard.
💬 Hint: It's recommended to store env's for nextjs in Vercel/system env config for live apps and use .env.local for local testing.