The Flip Smart Contract part 3 : Setting up the project
Time to code !
Cloning the contract template
git clone https://github.com/gfusee/mx-sdk-as-empty.git flip
cd flip
rm -rf .gitInitializing the code and dependancies
//@ts-nocheck
import {
ContractBase
} from "@gfusee/mx-sdk-as";
@contract
abstract class FlipContract extends ContractBase {
}Building the contract
Next up
PreviousThe Flip Smart Contract part 2 : Think about the contract and the game mechanismsNextThe Flip Smart Contract part 4 : Writing the contract storage
Last updated