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
Conversation
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
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 |
There was a problem hiding this comment.
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)
…'t changed but will check for next commit
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" |
There was a problem hiding this comment.
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(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove comment
No description provided.