2023-03-16 14:49:25 +00:00
|
|
|
package api
|
|
|
|
|
|
|
|
import (
|
|
|
|
"crypto/rand"
|
|
|
|
"encoding/json"
|
|
|
|
"math/big"
|
|
|
|
|
|
|
|
"github.com/google/uuid"
|
|
|
|
|
|
|
|
"github.com/status-im/status-go/account/generator"
|
|
|
|
"github.com/status-im/status-go/eth-node/types"
|
|
|
|
"github.com/status-im/status-go/multiaccounts/settings"
|
|
|
|
"github.com/status-im/status-go/params"
|
|
|
|
"github.com/status-im/status-go/protocol/identity/alias"
|
|
|
|
"github.com/status-im/status-go/protocol/requests"
|
|
|
|
)
|
|
|
|
|
|
|
|
const pathWalletRoot = "m/44'/60'/0'/0"
|
|
|
|
const pathEIP1581 = "m/43'/60'/1581'"
|
2024-01-18 18:54:54 +00:00
|
|
|
const pathDefaultChat = pathEIP1581 + "/0'/0"
|
2023-03-16 14:49:25 +00:00
|
|
|
const pathDefaultWallet = pathWalletRoot + "/0"
|
2023-03-16 16:45:24 +00:00
|
|
|
const defaultMnemonicLength = 12
|
2023-12-07 13:45:53 +00:00
|
|
|
const shardsTestClusterID = 16
|
2024-01-19 22:48:37 +00:00
|
|
|
const walletAccountDefaultName = "Account 1"
|
2023-03-16 20:51:41 +00:00
|
|
|
const keystoreRelativePath = "keystore"
|
2023-09-16 01:20:23 +00:00
|
|
|
const defaultKeycardPairingDataFile = "/ethereum/mainnet_rpc/keycard/pairings.json"
|
2023-03-16 14:49:25 +00:00
|
|
|
|
|
|
|
var paths = []string{pathWalletRoot, pathEIP1581, pathDefaultChat, pathDefaultWallet}
|
|
|
|
|
2024-02-22 19:32:24 +00:00
|
|
|
var DefaultFleet = params.FleetShardsTest
|
2023-12-07 13:45:53 +00:00
|
|
|
|
2023-03-16 14:49:25 +00:00
|
|
|
func defaultSettings(generatedAccountInfo generator.GeneratedAccountInfo, derivedAddresses map[string]generator.AccountInfo, mnemonic *string) (*settings.Settings, error) {
|
|
|
|
chatKeyString := derivedAddresses[pathDefaultChat].PublicKey
|
|
|
|
|
2023-03-28 14:47:58 +00:00
|
|
|
s := &settings.Settings{}
|
|
|
|
s.Mnemonic = &generatedAccountInfo.Mnemonic
|
|
|
|
s.BackupEnabled = true
|
|
|
|
logLevel := "INFO"
|
|
|
|
s.LogLevel = &logLevel
|
2023-06-19 16:55:04 +00:00
|
|
|
s.ProfilePicturesShowTo = settings.ProfilePicturesShowToEveryone
|
|
|
|
s.ProfilePicturesVisibility = settings.ProfilePicturesVisibilityEveryone
|
2023-03-28 14:47:58 +00:00
|
|
|
s.KeyUID = generatedAccountInfo.KeyUID
|
|
|
|
s.Address = types.HexToAddress(generatedAccountInfo.Address)
|
|
|
|
s.WalletRootAddress = types.HexToAddress(derivedAddresses[pathWalletRoot].Address)
|
2023-10-13 14:31:56 +00:00
|
|
|
s.URLUnfurlingMode = settings.URLUnfurlingAlwaysAsk
|
2023-03-16 14:49:25 +00:00
|
|
|
|
|
|
|
// Set chat key & name
|
|
|
|
name, err := alias.GenerateFromPublicKeyString(chatKeyString)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2023-03-28 14:47:58 +00:00
|
|
|
s.Name = name
|
|
|
|
s.PublicKey = chatKeyString
|
2023-03-16 14:49:25 +00:00
|
|
|
|
2023-03-28 14:47:58 +00:00
|
|
|
s.DappsAddress = types.HexToAddress(derivedAddresses[pathDefaultWallet].Address)
|
|
|
|
s.EIP1581Address = types.HexToAddress(derivedAddresses[pathEIP1581].Address)
|
|
|
|
s.Mnemonic = mnemonic
|
2023-03-16 14:49:25 +00:00
|
|
|
|
|
|
|
signingPhrase, err := buildSigningPhrase()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
2023-03-28 14:47:58 +00:00
|
|
|
s.SigningPhrase = signingPhrase
|
2023-03-16 14:49:25 +00:00
|
|
|
|
2023-03-28 14:47:58 +00:00
|
|
|
s.SendPushNotifications = true
|
|
|
|
s.InstallationID = uuid.New().String()
|
|
|
|
s.UseMailservers = true
|
2023-03-16 14:49:25 +00:00
|
|
|
|
2023-03-28 14:47:58 +00:00
|
|
|
s.PreviewPrivacy = true
|
2024-03-05 10:44:09 +00:00
|
|
|
s.PeerSyncingEnabled = false
|
2023-03-28 14:47:58 +00:00
|
|
|
s.Currency = "usd"
|
|
|
|
s.LinkPreviewRequestEnabled = true
|
2023-03-16 14:49:25 +00:00
|
|
|
|
|
|
|
visibleTokens := make(map[string][]string)
|
|
|
|
visibleTokens["mainnet"] = []string{"SNT"}
|
|
|
|
visibleTokensJSON, err := json.Marshal(visibleTokens)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
visibleTokenJSONRaw := json.RawMessage(visibleTokensJSON)
|
2023-03-28 14:47:58 +00:00
|
|
|
s.WalletVisibleTokens = &visibleTokenJSONRaw
|
2023-03-16 14:49:25 +00:00
|
|
|
|
|
|
|
// TODO: fix this
|
|
|
|
networks := make([]map[string]string, 0)
|
|
|
|
networksJSON, err := json.Marshal(networks)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
networkRawMessage := json.RawMessage(networksJSON)
|
2023-03-28 14:47:58 +00:00
|
|
|
s.Networks = &networkRawMessage
|
|
|
|
s.CurrentNetwork = "mainnet_rpc"
|
2023-03-16 14:49:25 +00:00
|
|
|
|
2024-01-05 11:12:53 +00:00
|
|
|
s.TokenGroupByCommunity = false
|
|
|
|
s.ShowCommunityAssetWhenSendingTokens = true
|
|
|
|
s.DisplayAssetsBelowBalance = false
|
|
|
|
// NOTE 9 decimals of precision. Default value is translated to 0.1
|
|
|
|
s.DisplayAssetsBelowBalanceThreshold = 100000000
|
|
|
|
|
2023-03-28 14:47:58 +00:00
|
|
|
return s, nil
|
2023-03-16 14:49:25 +00:00
|
|
|
}
|
|
|
|
|
2023-09-27 17:26:10 +00:00
|
|
|
func SetDefaultFleet(nodeConfig *params.NodeConfig) error {
|
2023-12-07 13:45:53 +00:00
|
|
|
return SetFleet(DefaultFleet, nodeConfig)
|
2023-11-10 15:12:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func SetFleet(fleet string, nodeConfig *params.NodeConfig) error {
|
2023-12-07 13:45:53 +00:00
|
|
|
nodeConfig.WakuV2Config = params.WakuV2Config{
|
|
|
|
Enabled: true,
|
|
|
|
EnableDiscV5: true,
|
|
|
|
DiscoveryLimit: 20,
|
|
|
|
Host: "0.0.0.0",
|
|
|
|
AutoUpdate: true,
|
|
|
|
}
|
|
|
|
|
2023-11-10 15:12:54 +00:00
|
|
|
clusterConfig, err := params.LoadClusterConfigFromFleet(fleet)
|
2023-09-27 17:26:10 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
nodeConfig.ClusterConfig = *clusterConfig
|
2023-12-07 13:45:53 +00:00
|
|
|
nodeConfig.ClusterConfig.Fleet = fleet
|
2024-02-22 19:32:24 +00:00
|
|
|
nodeConfig.ClusterConfig.WakuNodes = params.DefaultWakuNodes(fleet)
|
|
|
|
nodeConfig.ClusterConfig.DiscV5BootstrapNodes = params.DefaultWakuNodes(fleet)
|
2023-12-07 13:45:53 +00:00
|
|
|
|
2024-02-22 19:32:24 +00:00
|
|
|
if fleet == params.FleetShardsTest {
|
2023-12-07 13:45:53 +00:00
|
|
|
nodeConfig.ClusterConfig.ClusterID = shardsTestClusterID
|
|
|
|
nodeConfig.WakuV2Config.UseShardAsDefaultTopic = true
|
|
|
|
}
|
2023-09-27 17:26:10 +00:00
|
|
|
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2024-02-02 13:55:46 +00:00
|
|
|
func buildWalletConfig(request *requests.WalletSecretsConfig) params.WalletConfig {
|
|
|
|
walletConfig := params.WalletConfig{
|
2023-04-25 12:00:17 +00:00
|
|
|
Enabled: true,
|
|
|
|
AlchemyAPIKeys: make(map[uint64]string),
|
|
|
|
}
|
|
|
|
|
|
|
|
if request.OpenseaAPIKey != "" {
|
2024-02-02 13:55:46 +00:00
|
|
|
walletConfig.OpenseaAPIKey = request.OpenseaAPIKey
|
2023-04-25 12:00:17 +00:00
|
|
|
}
|
|
|
|
|
2023-10-12 19:40:13 +00:00
|
|
|
if request.RaribleMainnetAPIKey != "" {
|
2024-02-02 13:55:46 +00:00
|
|
|
walletConfig.RaribleMainnetAPIKey = request.RaribleMainnetAPIKey
|
2023-10-12 19:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if request.RaribleTestnetAPIKey != "" {
|
2024-02-02 13:55:46 +00:00
|
|
|
walletConfig.RaribleTestnetAPIKey = request.RaribleTestnetAPIKey
|
2023-10-12 19:40:13 +00:00
|
|
|
}
|
|
|
|
|
2023-04-25 12:00:17 +00:00
|
|
|
if request.InfuraToken != "" {
|
2024-02-02 13:55:46 +00:00
|
|
|
walletConfig.InfuraAPIKey = request.InfuraToken
|
2023-04-25 12:00:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if request.InfuraSecret != "" {
|
2024-02-02 13:55:46 +00:00
|
|
|
walletConfig.InfuraAPIKeySecret = request.InfuraSecret
|
2023-04-25 12:00:17 +00:00
|
|
|
}
|
|
|
|
|
2023-10-03 11:47:27 +00:00
|
|
|
if request.AlchemyEthereumMainnetToken != "" {
|
2024-02-02 13:55:46 +00:00
|
|
|
walletConfig.AlchemyAPIKeys[mainnetChainID] = request.AlchemyEthereumMainnetToken
|
2023-10-03 11:47:27 +00:00
|
|
|
}
|
|
|
|
if request.AlchemyEthereumGoerliToken != "" {
|
2024-02-02 13:55:46 +00:00
|
|
|
walletConfig.AlchemyAPIKeys[goerliChainID] = request.AlchemyEthereumGoerliToken
|
2023-10-03 11:47:27 +00:00
|
|
|
}
|
2023-11-16 20:46:01 +00:00
|
|
|
if request.AlchemyEthereumSepoliaToken != "" {
|
2024-02-02 13:55:46 +00:00
|
|
|
walletConfig.AlchemyAPIKeys[sepoliaChainID] = request.AlchemyEthereumSepoliaToken
|
2023-11-16 20:46:01 +00:00
|
|
|
}
|
2023-04-25 12:00:17 +00:00
|
|
|
if request.AlchemyArbitrumMainnetToken != "" {
|
2024-02-02 13:55:46 +00:00
|
|
|
walletConfig.AlchemyAPIKeys[arbitrumChainID] = request.AlchemyArbitrumMainnetToken
|
2023-04-25 12:00:17 +00:00
|
|
|
}
|
|
|
|
if request.AlchemyArbitrumGoerliToken != "" {
|
2024-02-02 13:55:46 +00:00
|
|
|
walletConfig.AlchemyAPIKeys[arbitrumGoerliChainID] = request.AlchemyArbitrumGoerliToken
|
2023-04-25 12:00:17 +00:00
|
|
|
}
|
2023-11-16 20:46:01 +00:00
|
|
|
if request.AlchemyArbitrumSepoliaToken != "" {
|
2024-02-02 13:55:46 +00:00
|
|
|
walletConfig.AlchemyAPIKeys[arbitrumSepoliaChainID] = request.AlchemyArbitrumSepoliaToken
|
2023-11-16 20:46:01 +00:00
|
|
|
}
|
2023-04-25 12:00:17 +00:00
|
|
|
if request.AlchemyOptimismMainnetToken != "" {
|
2024-02-02 13:55:46 +00:00
|
|
|
walletConfig.AlchemyAPIKeys[optimismChainID] = request.AlchemyOptimismMainnetToken
|
2023-04-25 12:00:17 +00:00
|
|
|
}
|
|
|
|
if request.AlchemyOptimismGoerliToken != "" {
|
2024-02-02 13:55:46 +00:00
|
|
|
walletConfig.AlchemyAPIKeys[optimismGoerliChainID] = request.AlchemyOptimismGoerliToken
|
2023-04-25 12:00:17 +00:00
|
|
|
}
|
2023-11-16 20:46:01 +00:00
|
|
|
if request.AlchemyOptimismSepoliaToken != "" {
|
2024-02-02 13:55:46 +00:00
|
|
|
walletConfig.AlchemyAPIKeys[optimismSepoliaChainID] = request.AlchemyOptimismSepoliaToken
|
2023-11-16 20:46:01 +00:00
|
|
|
}
|
2023-04-25 12:00:17 +00:00
|
|
|
|
2024-02-02 13:55:46 +00:00
|
|
|
return walletConfig
|
|
|
|
}
|
|
|
|
|
2024-03-19 00:31:35 +00:00
|
|
|
func defaultNodeConfig(installationID string, request *requests.CreateAccount, opts ...params.Option) (*params.NodeConfig, error) {
|
2024-02-02 13:55:46 +00:00
|
|
|
// Set mainnet
|
|
|
|
nodeConfig := ¶ms.NodeConfig{}
|
|
|
|
nodeConfig.NetworkID = request.NetworkID
|
|
|
|
nodeConfig.LogEnabled = request.LogEnabled
|
|
|
|
nodeConfig.LogFile = "geth.log"
|
|
|
|
nodeConfig.LogDir = request.LogFilePath
|
|
|
|
nodeConfig.LogLevel = "ERROR"
|
|
|
|
nodeConfig.DataDir = "/ethereum/mainnet_rpc"
|
|
|
|
nodeConfig.KeycardPairingDataFile = defaultKeycardPairingDataFile
|
|
|
|
|
|
|
|
if request.LogLevel != nil {
|
|
|
|
nodeConfig.LogLevel = *request.LogLevel
|
|
|
|
}
|
|
|
|
|
|
|
|
if request.UpstreamConfig != "" {
|
|
|
|
nodeConfig.UpstreamConfig = params.UpstreamRPCConfig{
|
|
|
|
Enabled: true,
|
|
|
|
URL: request.UpstreamConfig,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nodeConfig.Name = "StatusIM"
|
|
|
|
nodeConfig.Rendezvous = false
|
|
|
|
nodeConfig.NoDiscovery = true
|
|
|
|
nodeConfig.MaxPeers = 20
|
|
|
|
nodeConfig.MaxPendingPeers = 20
|
|
|
|
|
|
|
|
nodeConfig.WalletConfig = buildWalletConfig(&request.WalletSecretsConfig)
|
|
|
|
|
2023-03-16 14:49:25 +00:00
|
|
|
nodeConfig.LocalNotificationsConfig = params.LocalNotificationsConfig{Enabled: true}
|
|
|
|
nodeConfig.BrowsersConfig = params.BrowsersConfig{Enabled: true}
|
|
|
|
nodeConfig.PermissionsConfig = params.PermissionsConfig{Enabled: true}
|
|
|
|
nodeConfig.MailserversConfig = params.MailserversConfig{Enabled: true}
|
|
|
|
|
2023-12-07 13:45:53 +00:00
|
|
|
nodeConfig.ListenAddr = ":0"
|
|
|
|
|
2023-09-27 17:26:10 +00:00
|
|
|
err := SetDefaultFleet(nodeConfig)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2023-07-03 12:48:21 +00:00
|
|
|
if request.WakuV2LightClient {
|
|
|
|
nodeConfig.WakuV2Config.LightClient = true
|
|
|
|
}
|
|
|
|
|
2023-03-16 14:49:25 +00:00
|
|
|
if request.WakuV2Nameserver != nil {
|
|
|
|
nodeConfig.WakuV2Config.Nameserver = *request.WakuV2Nameserver
|
|
|
|
}
|
|
|
|
|
|
|
|
nodeConfig.ShhextConfig = params.ShhextConfig{
|
2023-03-28 14:47:58 +00:00
|
|
|
BackupDisabledDataDir: request.BackupDisabledDataDir,
|
2023-03-16 14:49:25 +00:00
|
|
|
InstallationID: installationID,
|
|
|
|
MaxMessageDeliveryAttempts: 6,
|
|
|
|
MailServerConfirmations: true,
|
|
|
|
VerifyTransactionChainID: 1,
|
|
|
|
DataSyncEnabled: true,
|
|
|
|
PFSEnabled: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
if request.VerifyTransactionURL != nil {
|
|
|
|
nodeConfig.ShhextConfig.VerifyTransactionURL = *request.VerifyTransactionURL
|
|
|
|
}
|
|
|
|
|
|
|
|
if request.VerifyENSURL != nil {
|
|
|
|
nodeConfig.ShhextConfig.VerifyENSURL = *request.VerifyENSURL
|
|
|
|
}
|
|
|
|
|
|
|
|
if request.VerifyTransactionChainID != nil {
|
|
|
|
nodeConfig.ShhextConfig.VerifyTransactionChainID = *request.VerifyTransactionChainID
|
|
|
|
}
|
|
|
|
|
|
|
|
if request.VerifyENSContractAddress != nil {
|
|
|
|
nodeConfig.ShhextConfig.VerifyENSContractAddress = *request.VerifyENSContractAddress
|
|
|
|
}
|
|
|
|
|
|
|
|
if request.LogLevel != nil {
|
|
|
|
nodeConfig.LogLevel = *request.LogLevel
|
|
|
|
nodeConfig.LogEnabled = true
|
|
|
|
|
|
|
|
} else {
|
|
|
|
nodeConfig.LogEnabled = false
|
|
|
|
}
|
|
|
|
|
2024-01-03 10:29:21 +00:00
|
|
|
nodeConfig.Networks = BuildDefaultNetworks(request)
|
2023-04-25 12:00:17 +00:00
|
|
|
|
2024-03-19 00:31:35 +00:00
|
|
|
for _, opt := range opts {
|
|
|
|
if err := opt(nodeConfig); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-16 14:49:25 +00:00
|
|
|
return nodeConfig, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func buildSigningPhrase() (string, error) {
|
|
|
|
length := big.NewInt(int64(len(dictionary)))
|
|
|
|
a, err := rand.Int(rand.Reader, length)
|
|
|
|
if err != nil {
|
|
|
|
return "", err
|
|
|
|
}
|
|
|
|
b, err := rand.Int(rand.Reader, length)
|
|
|
|
if err != nil {
|
|
|
|
return "", err
|
|
|
|
}
|
|
|
|
c, err := rand.Int(rand.Reader, length)
|
|
|
|
if err != nil {
|
|
|
|
return "", err
|
|
|
|
}
|
|
|
|
|
|
|
|
return dictionary[a.Int64()] + " " + dictionary[b.Int64()] + " " + dictionary[c.Int64()], nil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
var dictionary = []string{
|
|
|
|
"acid",
|
|
|
|
"alto",
|
|
|
|
"apse",
|
|
|
|
"arch",
|
|
|
|
"area",
|
|
|
|
"army",
|
|
|
|
"atom",
|
|
|
|
"aunt",
|
|
|
|
"babe",
|
|
|
|
"baby",
|
|
|
|
"back",
|
|
|
|
"bail",
|
|
|
|
"bait",
|
|
|
|
"bake",
|
|
|
|
"ball",
|
|
|
|
"band",
|
|
|
|
"bank",
|
|
|
|
"barn",
|
|
|
|
"base",
|
|
|
|
"bass",
|
|
|
|
"bath",
|
|
|
|
"bead",
|
|
|
|
"beak",
|
|
|
|
"beam",
|
|
|
|
"bean",
|
|
|
|
"bear",
|
|
|
|
"beat",
|
|
|
|
"beef",
|
|
|
|
"beer",
|
|
|
|
"beet",
|
|
|
|
"bell",
|
|
|
|
"belt",
|
|
|
|
"bend",
|
|
|
|
"bike",
|
|
|
|
"bill",
|
|
|
|
"bird",
|
|
|
|
"bite",
|
|
|
|
"blow",
|
|
|
|
"blue",
|
|
|
|
"boar",
|
|
|
|
"boat",
|
|
|
|
"body",
|
|
|
|
"bolt",
|
|
|
|
"bomb",
|
|
|
|
"bone",
|
|
|
|
"book",
|
|
|
|
"boot",
|
|
|
|
"bore",
|
|
|
|
"boss",
|
|
|
|
"bowl",
|
|
|
|
"brow",
|
|
|
|
"bulb",
|
|
|
|
"bull",
|
|
|
|
"burn",
|
|
|
|
"bush",
|
|
|
|
"bust",
|
|
|
|
"cafe",
|
|
|
|
"cake",
|
|
|
|
"calf",
|
|
|
|
"call",
|
|
|
|
"calm",
|
|
|
|
"camp",
|
|
|
|
"cane",
|
|
|
|
"cape",
|
|
|
|
"card",
|
|
|
|
"care",
|
|
|
|
"carp",
|
|
|
|
"cart",
|
|
|
|
"case",
|
|
|
|
"cash",
|
|
|
|
"cast",
|
|
|
|
"cave",
|
|
|
|
"cell",
|
|
|
|
"cent",
|
|
|
|
"chap",
|
|
|
|
"chef",
|
|
|
|
"chin",
|
|
|
|
"chip",
|
|
|
|
"chop",
|
|
|
|
"chub",
|
|
|
|
"chug",
|
|
|
|
"city",
|
|
|
|
"clam",
|
|
|
|
"clef",
|
|
|
|
"clip",
|
|
|
|
"club",
|
|
|
|
"clue",
|
|
|
|
"coal",
|
|
|
|
"coat",
|
|
|
|
"code",
|
|
|
|
"coil",
|
|
|
|
"coin",
|
|
|
|
"coke",
|
|
|
|
"cold",
|
|
|
|
"colt",
|
|
|
|
"comb",
|
|
|
|
"cone",
|
|
|
|
"cook",
|
|
|
|
"cope",
|
|
|
|
"copy",
|
|
|
|
"cord",
|
|
|
|
"cork",
|
|
|
|
"corn",
|
|
|
|
"cost",
|
|
|
|
"crab",
|
|
|
|
"craw",
|
|
|
|
"crew",
|
|
|
|
"crib",
|
|
|
|
"crop",
|
|
|
|
"crow",
|
|
|
|
"curl",
|
|
|
|
"cyst",
|
|
|
|
"dame",
|
|
|
|
"dare",
|
|
|
|
"dark",
|
|
|
|
"dart",
|
|
|
|
"dash",
|
|
|
|
"data",
|
|
|
|
"date",
|
|
|
|
"dead",
|
|
|
|
"deal",
|
|
|
|
"dear",
|
|
|
|
"debt",
|
|
|
|
"deck",
|
|
|
|
"deep",
|
|
|
|
"deer",
|
|
|
|
"desk",
|
|
|
|
"dhow",
|
|
|
|
"diet",
|
|
|
|
"dill",
|
|
|
|
"dime",
|
|
|
|
"dirt",
|
|
|
|
"dish",
|
|
|
|
"disk",
|
|
|
|
"dock",
|
|
|
|
"doll",
|
|
|
|
"door",
|
|
|
|
"dory",
|
|
|
|
"drag",
|
|
|
|
"draw",
|
|
|
|
"drop",
|
|
|
|
"drug",
|
|
|
|
"drum",
|
|
|
|
"duck",
|
|
|
|
"dump",
|
|
|
|
"dust",
|
|
|
|
"duty",
|
|
|
|
"ease",
|
|
|
|
"east",
|
|
|
|
"eave",
|
|
|
|
"eddy",
|
|
|
|
"edge",
|
|
|
|
"envy",
|
|
|
|
"epee",
|
|
|
|
"exam",
|
|
|
|
"exit",
|
|
|
|
"face",
|
|
|
|
"fact",
|
|
|
|
"fail",
|
|
|
|
"fall",
|
|
|
|
"fame",
|
|
|
|
"fang",
|
|
|
|
"farm",
|
|
|
|
"fawn",
|
|
|
|
"fear",
|
|
|
|
"feed",
|
|
|
|
"feel",
|
|
|
|
"feet",
|
|
|
|
"file",
|
|
|
|
"fill",
|
|
|
|
"film",
|
|
|
|
"find",
|
|
|
|
"fine",
|
|
|
|
"fire",
|
|
|
|
"fish",
|
|
|
|
"flag",
|
|
|
|
"flat",
|
|
|
|
"flax",
|
|
|
|
"flow",
|
|
|
|
"foam",
|
|
|
|
"fold",
|
|
|
|
"font",
|
|
|
|
"food",
|
|
|
|
"foot",
|
|
|
|
"fork",
|
|
|
|
"form",
|
|
|
|
"fort",
|
|
|
|
"fowl",
|
|
|
|
"frog",
|
|
|
|
"fuel",
|
|
|
|
"full",
|
|
|
|
"gain",
|
|
|
|
"gale",
|
|
|
|
"galn",
|
|
|
|
"game",
|
|
|
|
"garb",
|
|
|
|
"gate",
|
|
|
|
"gear",
|
|
|
|
"gene",
|
|
|
|
"gift",
|
|
|
|
"girl",
|
|
|
|
"give",
|
|
|
|
"glad",
|
|
|
|
"glen",
|
|
|
|
"glue",
|
|
|
|
"glut",
|
|
|
|
"goal",
|
|
|
|
"goat",
|
|
|
|
"gold",
|
|
|
|
"golf",
|
|
|
|
"gong",
|
|
|
|
"good",
|
|
|
|
"gown",
|
|
|
|
"grab",
|
|
|
|
"gram",
|
|
|
|
"gray",
|
|
|
|
"grey",
|
|
|
|
"grip",
|
|
|
|
"grit",
|
|
|
|
"gyro",
|
|
|
|
"hail",
|
|
|
|
"hair",
|
|
|
|
"half",
|
|
|
|
"hall",
|
|
|
|
"hand",
|
|
|
|
"hang",
|
|
|
|
"harm",
|
|
|
|
"harp",
|
|
|
|
"hate",
|
|
|
|
"hawk",
|
|
|
|
"head",
|
|
|
|
"heat",
|
|
|
|
"heel",
|
|
|
|
"hell",
|
|
|
|
"helo",
|
|
|
|
"help",
|
|
|
|
"hemp",
|
|
|
|
"herb",
|
|
|
|
"hide",
|
|
|
|
"high",
|
|
|
|
"hill",
|
|
|
|
"hire",
|
|
|
|
"hive",
|
|
|
|
"hold",
|
|
|
|
"hole",
|
|
|
|
"home",
|
|
|
|
"hood",
|
|
|
|
"hoof",
|
|
|
|
"hook",
|
|
|
|
"hope",
|
|
|
|
"hops",
|
|
|
|
"horn",
|
|
|
|
"hose",
|
|
|
|
"host",
|
|
|
|
"hour",
|
|
|
|
"hunt",
|
|
|
|
"hurt",
|
|
|
|
"icon",
|
|
|
|
"idea",
|
|
|
|
"inch",
|
|
|
|
"iris",
|
|
|
|
"iron",
|
|
|
|
"item",
|
|
|
|
"jail",
|
|
|
|
"jeep",
|
|
|
|
"jeff",
|
|
|
|
"joey",
|
|
|
|
"join",
|
|
|
|
"joke",
|
|
|
|
"judo",
|
|
|
|
"jump",
|
|
|
|
"junk",
|
|
|
|
"jury",
|
|
|
|
"jute",
|
|
|
|
"kale",
|
|
|
|
"keep",
|
|
|
|
"kick",
|
|
|
|
"kill",
|
|
|
|
"kilt",
|
|
|
|
"kind",
|
|
|
|
"king",
|
|
|
|
"kiss",
|
|
|
|
"kite",
|
|
|
|
"knee",
|
|
|
|
"knot",
|
|
|
|
"lace",
|
|
|
|
"lack",
|
|
|
|
"lady",
|
|
|
|
"lake",
|
|
|
|
"lamb",
|
|
|
|
"lamp",
|
|
|
|
"land",
|
|
|
|
"lark",
|
|
|
|
"lava",
|
|
|
|
"lawn",
|
|
|
|
"lead",
|
|
|
|
"leaf",
|
|
|
|
"leek",
|
|
|
|
"lier",
|
|
|
|
"life",
|
|
|
|
"lift",
|
|
|
|
"lily",
|
|
|
|
"limo",
|
|
|
|
"line",
|
|
|
|
"link",
|
|
|
|
"lion",
|
|
|
|
"lisa",
|
|
|
|
"list",
|
|
|
|
"load",
|
|
|
|
"loaf",
|
|
|
|
"loan",
|
|
|
|
"lock",
|
|
|
|
"loft",
|
|
|
|
"long",
|
|
|
|
"look",
|
|
|
|
"loss",
|
|
|
|
"lout",
|
|
|
|
"love",
|
|
|
|
"luck",
|
|
|
|
"lung",
|
|
|
|
"lute",
|
|
|
|
"lynx",
|
|
|
|
"lyre",
|
|
|
|
"maid",
|
|
|
|
"mail",
|
|
|
|
"main",
|
|
|
|
"make",
|
|
|
|
"male",
|
|
|
|
"mall",
|
|
|
|
"manx",
|
|
|
|
"many",
|
|
|
|
"mare",
|
|
|
|
"mark",
|
|
|
|
"mask",
|
|
|
|
"mass",
|
|
|
|
"mate",
|
|
|
|
"math",
|
|
|
|
"meal",
|
|
|
|
"meat",
|
|
|
|
"meet",
|
|
|
|
"menu",
|
|
|
|
"mess",
|
|
|
|
"mice",
|
|
|
|
"midi",
|
|
|
|
"mile",
|
|
|
|
"milk",
|
|
|
|
"mime",
|
|
|
|
"mind",
|
|
|
|
"mine",
|
|
|
|
"mini",
|
|
|
|
"mint",
|
|
|
|
"miss",
|
|
|
|
"mist",
|
|
|
|
"moat",
|
|
|
|
"mode",
|
|
|
|
"mole",
|
|
|
|
"mood",
|
|
|
|
"moon",
|
|
|
|
"most",
|
|
|
|
"moth",
|
|
|
|
"move",
|
|
|
|
"mule",
|
|
|
|
"mutt",
|
|
|
|
"nail",
|
|
|
|
"name",
|
|
|
|
"neat",
|
|
|
|
"neck",
|
|
|
|
"need",
|
|
|
|
"neon",
|
|
|
|
"nest",
|
|
|
|
"news",
|
|
|
|
"node",
|
|
|
|
"nose",
|
|
|
|
"note",
|
|
|
|
"oboe",
|
|
|
|
"okra",
|
|
|
|
"open",
|
|
|
|
"oval",
|
|
|
|
"oven",
|
|
|
|
"oxen",
|
|
|
|
"pace",
|
|
|
|
"pack",
|
|
|
|
"page",
|
|
|
|
"pail",
|
|
|
|
"pain",
|
|
|
|
"pair",
|
|
|
|
"palm",
|
|
|
|
"pard",
|
|
|
|
"park",
|
|
|
|
"part",
|
|
|
|
"pass",
|
|
|
|
"past",
|
|
|
|
"path",
|
|
|
|
"peak",
|
|
|
|
"pear",
|
|
|
|
"peen",
|
|
|
|
"peer",
|
|
|
|
"pelt",
|
|
|
|
"perp",
|
|
|
|
"pest",
|
|
|
|
"pick",
|
|
|
|
"pier",
|
|
|
|
"pike",
|
|
|
|
"pile",
|
|
|
|
"pimp",
|
|
|
|
"pine",
|
|
|
|
"ping",
|
|
|
|
"pink",
|
|
|
|
"pint",
|
|
|
|
"pipe",
|
|
|
|
"piss",
|
|
|
|
"pith",
|
|
|
|
"plan",
|
|
|
|
"play",
|
|
|
|
"plot",
|
|
|
|
"plow",
|
|
|
|
"poem",
|
|
|
|
"poet",
|
|
|
|
"pole",
|
|
|
|
"polo",
|
|
|
|
"pond",
|
|
|
|
"pony",
|
|
|
|
"poof",
|
|
|
|
"pool",
|
|
|
|
"port",
|
|
|
|
"post",
|
|
|
|
"prow",
|
|
|
|
"pull",
|
|
|
|
"puma",
|
|
|
|
"pump",
|
|
|
|
"pupa",
|
|
|
|
"push",
|
|
|
|
"quit",
|
|
|
|
"race",
|
|
|
|
"rack",
|
|
|
|
"raft",
|
|
|
|
"rage",
|
|
|
|
"rail",
|
|
|
|
"rain",
|
|
|
|
"rake",
|
|
|
|
"rank",
|
|
|
|
"rate",
|
|
|
|
"read",
|
|
|
|
"rear",
|
|
|
|
"reef",
|
|
|
|
"rent",
|
|
|
|
"rest",
|
|
|
|
"rice",
|
|
|
|
"rich",
|
|
|
|
"ride",
|
|
|
|
"ring",
|
|
|
|
"rise",
|
|
|
|
"risk",
|
|
|
|
"road",
|
|
|
|
"robe",
|
|
|
|
"rock",
|
|
|
|
"role",
|
|
|
|
"roll",
|
|
|
|
"roof",
|
|
|
|
"room",
|
|
|
|
"root",
|
|
|
|
"rope",
|
|
|
|
"rose",
|
|
|
|
"ruin",
|
|
|
|
"rule",
|
|
|
|
"rush",
|
|
|
|
"ruth",
|
|
|
|
"sack",
|
|
|
|
"safe",
|
|
|
|
"sage",
|
|
|
|
"sail",
|
|
|
|
"sale",
|
|
|
|
"salt",
|
|
|
|
"sand",
|
|
|
|
"sari",
|
|
|
|
"sash",
|
|
|
|
"save",
|
|
|
|
"scow",
|
|
|
|
"seal",
|
|
|
|
"seat",
|
|
|
|
"seed",
|
|
|
|
"self",
|
|
|
|
"sell",
|
|
|
|
"shed",
|
|
|
|
"shin",
|
|
|
|
"ship",
|
|
|
|
"shoe",
|
|
|
|
"shop",
|
|
|
|
"shot",
|
|
|
|
"show",
|
|
|
|
"sick",
|
|
|
|
"side",
|
|
|
|
"sign",
|
|
|
|
"silk",
|
|
|
|
"sill",
|
|
|
|
"silo",
|
|
|
|
"sing",
|
|
|
|
"sink",
|
|
|
|
"site",
|
|
|
|
"size",
|
|
|
|
"skin",
|
|
|
|
"sled",
|
|
|
|
"slip",
|
|
|
|
"smog",
|
|
|
|
"snob",
|
|
|
|
"snow",
|
|
|
|
"soap",
|
|
|
|
"sock",
|
|
|
|
"soda",
|
|
|
|
"sofa",
|
|
|
|
"soft",
|
|
|
|
"soil",
|
|
|
|
"song",
|
|
|
|
"soot",
|
|
|
|
"sort",
|
|
|
|
"soup",
|
|
|
|
"spot",
|
|
|
|
"spur",
|
|
|
|
"stag",
|
|
|
|
"star",
|
|
|
|
"stay",
|
|
|
|
"stem",
|
|
|
|
"step",
|
|
|
|
"stew",
|
|
|
|
"stop",
|
|
|
|
"stud",
|
|
|
|
"suck",
|
|
|
|
"suit",
|
|
|
|
"swan",
|
|
|
|
"swim",
|
|
|
|
"tail",
|
|
|
|
"tale",
|
|
|
|
"talk",
|
|
|
|
"tank",
|
|
|
|
"tard",
|
|
|
|
"task",
|
|
|
|
"taxi",
|
|
|
|
"team",
|
|
|
|
"tear",
|
|
|
|
"teen",
|
|
|
|
"tell",
|
|
|
|
"temp",
|
|
|
|
"tent",
|
|
|
|
"term",
|
|
|
|
"test",
|
|
|
|
"text",
|
|
|
|
"thaw",
|
|
|
|
"tile",
|
|
|
|
"till",
|
|
|
|
"time",
|
|
|
|
"tire",
|
|
|
|
"toad",
|
|
|
|
"toga",
|
|
|
|
"togs",
|
|
|
|
"tone",
|
|
|
|
"tool",
|
|
|
|
"toot",
|
|
|
|
"tote",
|
|
|
|
"tour",
|
|
|
|
"town",
|
|
|
|
"tram",
|
|
|
|
"tray",
|
|
|
|
"tree",
|
|
|
|
"trim",
|
|
|
|
"trip",
|
|
|
|
"tuba",
|
|
|
|
"tube",
|
|
|
|
"tuna",
|
|
|
|
"tune",
|
|
|
|
"turn",
|
|
|
|
"tutu",
|
|
|
|
"twig",
|
|
|
|
"type",
|
|
|
|
"unit",
|
|
|
|
"user",
|
|
|
|
"vane",
|
|
|
|
"vase",
|
|
|
|
"vast",
|
|
|
|
"veal",
|
|
|
|
"veil",
|
|
|
|
"vein",
|
|
|
|
"vest",
|
|
|
|
"vibe",
|
|
|
|
"view",
|
|
|
|
"vise",
|
|
|
|
"wait",
|
|
|
|
"wake",
|
|
|
|
"walk",
|
|
|
|
"wall",
|
|
|
|
"wash",
|
|
|
|
"wasp",
|
|
|
|
"wave",
|
|
|
|
"wear",
|
|
|
|
"weed",
|
|
|
|
"week",
|
|
|
|
"well",
|
|
|
|
"west",
|
|
|
|
"whip",
|
|
|
|
"wife",
|
|
|
|
"will",
|
|
|
|
"wind",
|
|
|
|
"wine",
|
|
|
|
"wing",
|
|
|
|
"wire",
|
|
|
|
"wish",
|
|
|
|
"wolf",
|
|
|
|
"wood",
|
|
|
|
"wool",
|
|
|
|
"word",
|
|
|
|
"work",
|
|
|
|
"worm",
|
|
|
|
"wrap",
|
|
|
|
"wren",
|
|
|
|
"yard",
|
|
|
|
"yarn",
|
|
|
|
"yawl",
|
|
|
|
"year",
|
|
|
|
"yoga",
|
|
|
|
"yoke",
|
|
|
|
"yurt",
|
|
|
|
"zinc",
|
|
|
|
"zone",
|
|
|
|
}
|