This is a basic demonstration Salesforce DX Project. Using the SF CLI tools, you can deploy to a Developer Edition Scratch Org. Our project will allow Salesforce administrators to make crypto payments from an enterprise Salesforce Org that resembles this one.
Now that you’ve created a Salesforce DX project, what’s next? Here are some documentation resources to get you started.
You can get a free Salesforce Developer Edition account from Salesforce. Sign up at:
https://developer.salesforce.com/signup
- Checkout the Main Branch
- Log into the Dev Hub Org by running
sf org login web --set-default-dev-hub --alias DevHub --instance-url https://login.salesforce.com
and entering your username and password. - Create a Scratch Org by running
sf org create scratch -f ./config/project-scratch-def.json -a dev -d -y 30
.- The
-f
flag is a path to config file (no need to change it). - The
-a
flag is an alias of the scratch org, if you create multiple scratch orgs you can give them unique aliases to easier refer to them. - The
-d
flag marks the newly created scratch org as default. If you don't mark it as default you will have to reference it by username or alias, or you will have to usesf config set target-org YourAliasOrUsername
to set is as default. - The
-y
flag sets the number of days before the org expires. - Use the
-h
flag for help. - For more details: developer docs scratch orgs create.
- The
- Push the code to the Scratch Org:
sf project deploy start
- Connect to the Salesforce Scratch Org:
sf org open
Once you've set up your Salesforce Scratch Org, you can follow the steps outlined in our user manual to make and receive payments using Web3 Enabler on Salesforce. You can also use our demo as a guide.
We launched Web3 Enabler on the Salesforce App Exchange in July, 2023. See our AppExchange listing for further details.
sfdx force:org:create -f config/project-scratch-def.json --setalias xrpsalesforce1 --durationdays 30 --setdefaultusername --json --loglevel fatal
Copyright 2024 Web3 Enabler, Inc. BNB for Salesforce is distributed under the GPL licence, version 3.0. For more information, see the LICENSE file.