Skip to content
 
 

Repository files navigation

link! ‒ The Unstoppable URL Shortener
built-with-ink

Overview

This is a port of https://tiny.ink using Dedot to show-case how dapps can interact with ink! smart contracts with type-safe APIs from Dedot.

The dapp is live at: https://link.dedot.dev.

The contract is deployed on POP Network (address)

Development

  1. Generate Types & APIs for the link contract using dedot cli
pnpm typink

# OR
dedot typink -m ./contracts/deployments/link/link.json -o ./contracts/deployments/types
  1. Deploy the contract. Make sure to have a local subtrate-contract-node running on you local at https://127.0.0.1:9944
# In `contracts` folder
pnpm run script deploy
  1. Create a .env.local to specify default chain for local development in frontend folder
VITE_DEFAULT_CHAIN='development'
  1. Start development application
pnpm dev

About

Unstoppable URL shortener built with the ink! smart contract language and Dedot. Deployed on POP Network!

Resources

Code of conduct

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages