# Dapp Templates
When creating a new dapp using agoric init
, you have the option of
starting from a number of templates. To use a template other than the default, add the
--dapp-template
option:
agoric init --dapp-template dapp-fungible-faucet my-fungible-faucet
# Fungible Faucet Dapp
Gives fungible tokens on request. Frontend is raw JavaScript with Material Design Components.
# Card Store Dapp
Mints NFT (non-fungible token) baseball cards and lets users buy them with their fungible tokens from the Fungible Faucet Dapp. Frontend is raw JavaScript with Material Design Components.
# OTC Desk Dapp
Gives custom quotes to users, in the form of an exercisable call option. This dapp has no frontend, but does have a video tutorial that walks through the development.
# Oracle Dapp
A generic way to interact with oracles such as the Chainlink decentralized oracle network. Frontend is raw JavaScript.
# Pegasus Dapp
Peg/transfer Agoric digital assets to or from remote entities via the Agoric Network API. The Network API notably allows smart contracts written in Javascript to communicate between blockchains via dIBC (our dynamic flavour of IBC, the Inter-Blockchain Communication protocol).
Pegasus currently uses the packet data JSON format of the Interchain Standard fungible asset transfer protocol (ics20-1). The combination of ICS20 and IBC provides compatibility with any conforming implementation such as pegging Cosmos Atoms via (an upcoming version of) the Gaia hub.
Frontend is React.
# Encouragement Dapp
Sends encouragement messages to the user through either the dapp backend or by minting encouragement NFT tokens in a contract. Frontend is raw JavaScript.
# Autoswap Dapp
A Uniswap implementation that lets the user trade fungible tokens. Frontend is React.
# Simple Exchange Dapp
A DeFi exchange with a naively-implemented on-chain orderbook. Frontend is React.
# Agoric Wallet Dapp
Github: dapp-svelte-wallet in agoric-sdk
The Agoric Wallet is implemented as a dapp. Lets the user hold digital assets in purses, interact with dapps, approve offers to contracts, and send payments. Frontend is Svelte.