Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactored and new sdk deploy scripts #87

Merged
merged 18 commits into from Jan 24, 2023
Merged

refactored and new sdk deploy scripts #87

merged 18 commits into from Jan 24, 2023

Conversation

minqianlu
Copy link
Collaborator

No description provided.

@minqianlu
Copy link
Collaborator Author

note, this branch has some modifications to the test files from when I was commenting on them. I assume this can be removed if needed?

deploy/ft/ft-create-sdk.js Outdated Show resolved Hide resolved
const { initKeypom, createDrop, getDrops } = require("keypom-js");

//funder is account to sign txns, defaults to benjiman.testnet
//numKeys default is 10, deposit defalt is 10, default drop config 1 use per key and delete on empty, metadata empty, funderBalance false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep comment styles consistent and have a standard for how we do comments: try to have a space after each comment and start each sentence with a capital letter (unless it's a variable)

deploy/ft/ft-create-sdk.js Outdated Show resolved Hide resolved
deploy/ft/ft-create-sdk.js Outdated Show resolved Hide resolved
deploy/ft/ft-create-sdk.js Outdated Show resolved Hide resolved
deploy/ft/configurations.js Outdated Show resolved Hide resolved
deploy/function-call/configurations.js Outdated Show resolved Hide resolved
deploy/function-call/configurations.js Outdated Show resolved Hide resolved
deploy/function-call/fc-create-sdk.js Outdated Show resolved Hide resolved
deploy/simple/simple-create.js Outdated Show resolved Hide resolved
@minqianlu minqianlu marked this pull request as ready for review January 23, 2023 17:14
const KEYPOM_CONTRACT = "v1.keypom.testnet"
const FUNDING_ACCOUNT_ID = "benjiman.testnet";
const KEYPOM_CONTRACT = "v1-3.keypom.testnet"
// const FUNDING_ACCOUNT_ID = "minqi.testnet"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove the comments

@@ -97,7 +110,8 @@ async function start() {
'ft_transfer_call',
{
receiver_id: KEYPOM_CONTRACT,
amount: amountToTransfer.toString(),
// amount: (FT_DATA.amount*NUM_KEYS * DROP_CONFIG.usesPerKey).toString(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove comment

@BenKurrek BenKurrek merged commit 40715ff into main Jan 24, 2023
@BenKurrek BenKurrek deleted the min/deploy-refactor branch January 24, 2023 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants