This repository contains a Svelte application that automatically builds a UI to read or write any smart contract.
It leverages the OKcontract stack that comprises multiple open source libraries: cells, fred, multichain and the OKcontract SDK.
This application is built with Svelte.
npm i
npm run devThe contract is identified by its OKcontract identifier: You can find identifiers with the OKcontract Hub.
Alternatively, you can choose a contract by its address using the identifier
con:@{chain}/{0x...} where chain is the chain ID on OKcontract (e.g.
optimism) and 0x... the contract address.
OKcontract provides powerful tools for developers to create and manage smart contract interactions efficiently.
The idea behind the OKcontract is to operate a permissionless network that doesn't require an API key, making it much easier for developers to kickstart smart contract integration into their frontends.
For more details, documentation, and examples visit docs.okcontract.com/sdk.
This app repository is released under the GNU Affero GPL license.
Many OKcontract core libraries are released under the MIT or Apache license, please see there respective repository for licensing details.