Skip to content

abhi3700/substrate_sc_flipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flipper

Flipper SC using ink!

Overview

  • A Flipper SC that can be flipped by owner only
  • Functions:
    • new - Initializes the value with true.
    • default - Initializes the value with default value of false.
    • flip - flips the value.
    • get_val - Returns the current value.

Test

cargo test

Build

cargo +nightly contract build

Deploy

About

Ownable Flipper SC for Substrate Blockchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages