-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMove.toml
More file actions
87 lines (77 loc) · 2.72 KB
/
Move.toml
File metadata and controls
87 lines (77 loc) · 2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[package]
# CUSTOMIZE: Change this to your project name (use snake_case)
name = "fungible_token"
version = "1.0.0"
# CUSTOMIZE: Add your information here
authors = ["Therock Ani <[email protected]>"]
license = "Apache-2.0"
upgrade_policy = "compatible"
[addresses]
# CUSTOMIZE: Replace with your project name and wallet address
# This should match your Petra wallet address when deploying, but for testing use the dev-addresses below or "_"
fungible_token = "_"
# Standard Aptos addresses - DO NOT CHANGE
std = "0x1"
aptos_std = "0x1"
aptos_framework = "0x1"
# Git dependencies (recommended for production)
# These pull the latest stable framework code
[dependencies.AptosFramework]
git = "https://github.com/aptos-labs/aptos-core.git"
rev = "mainnet" # Use "testnet" for testnet-specific features
subdir = "aptos-move/framework/aptos-framework"
[dependencies.AptosStdlib]
git = "https://github.com/aptos-labs/aptos-core.git"
rev = "mainnet"
subdir = "aptos-move/framework/aptos-stdlib"
[dependencies.MoveStdlib]
git = "https://github.com/aptos-labs/aptos-core.git"
rev = "mainnet"
subdir = "aptos-move/framework/move-stdlib"
# Alternative: Local dependencies (uncomment if you have local aptos-core)
# [dependencies.AptosFramework]
# local = "../aptos-core/aptos-move/framework/aptos-framework"
#
# [dependencies.AptosStdlib]
# local = "../aptos-core/aptos-move/framework/aptos-stdlib"
#
# [dependencies.MoveStdlib]
# local = "../aptos-core/aptos-move/framework/move-stdlib"
# Development addresses (used for testing)
[dev-addresses]
# CUSTOMIZE: Match your project name but keep the test address
fungible_token = "0xCAFE"
# Development dependencies (optional)
[dev-dependencies]
# Add any additional dependencies needed for testing
# CUSTOMIZATION GUIDE:
# ====================
#
# 1. Change 'my_awesome_token' everywhere to your project name
# - Must be snake_case (lowercase with underscores)
# - Should match your main module name
#
# 2. Replace '0xYOUR_WALLET_ADDRESS_HERE' with your actual wallet address
# - Get this from Petra wallet (Settings > Manage Account)
# - Must start with 0x
# - Should be 66 characters long (including 0x)
#
# 3. Update author information
# - Replace with your name and email
# - You can add multiple authors: ["Name1 <email1>", "Name2 <email2>"]
#
# 4. Consider the upgrade policy:
# - "compatible": Allows upgrades that don't break existing code
# - "immutable": Contract cannot be upgraded after deployment
#
# Example customized version:
#
# [package]
# name = "defi_rewards_token"
# authors = ["Alice Developer <[email protected]>"]
#
# [addresses]
# defi_rewards_token = "0x1a2b3c4d5e6f7890abcdef1234567890abcdef1234567890abcdef1234567890"
#
# [dev-addresses]
# defi_rewards_token = "0xCAFE"