Skip to content

Instantly share code, notes, and snippets.

@ilyar
ilyar / clear_state_of_contract_on_near_protocol.md
Last active August 8, 2024 14:32
How do clear the state of a contract on Near protocol?

How do clear the state of a contract on Near protocol?

Prepare

source neardev/dev-account.env
export CONTRACT_NAME=$CONTRACT_NAME

View state

@sorki
sorki / ghci.conf
Created August 30, 2018 13:02
ghci colors (~/.ghc/ghci.conf)
import Control.Applicative
import Control.Monad
import Control.Concurrent
import Data.String
import Data.Char
import Data.List
import Data.Monoid
import Control.Monad.IO.Class