Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
e90845f
feat: hwc integrated
M-Francia Oct 7, 2025
867d9f4
feat : wip appkit
M-Francia Oct 8, 2025
e80ff0e
feat: appkit
M-Francia Oct 9, 2025
1f55178
feat: appkit
M-Francia Oct 9, 2025
5ae44ce
feat: update SDK to use HederaProvider instead of UniversalProvider
M-Francia Oct 9, 2025
55ba50c
fix: remove redundant hederaProvider assignment and add TODO for erro…
M-Francia Oct 9, 2025
a4b0095
fix: namespaces
M-Francia Oct 10, 2025
cc44bf4
fix: wip
M-Francia Oct 13, 2025
409536e
fix: wip
M-Francia Oct 13, 2025
8eca9ec
feat: create stable coin
M-Francia Oct 13, 2025
7ed5f3d
refactor: create stable coin
M-Francia Oct 13, 2025
8e00313
feat: operations added
M-Francia Oct 13, 2025
6eda601
feat: WIP
M-Francia Oct 14, 2025
6920feb
feat: WIP
M-Francia Oct 14, 2025
50f0b72
fix: hold operation
M-Francia Oct 15, 2025
f333621
fix: sdk compiling errors
M-Francia Oct 15, 2025
2117f99
fix: update custom fees
M-Francia Oct 15, 2025
353e1bf
fix: compile problems due versions
M-Francia Oct 16, 2025
7df882d
fix: hold
M-Francia Oct 16, 2025
0487ef8
chore: package-lock.json added
M-Francia Oct 17, 2025
353695e
fix: auto associate token
M-Francia Oct 20, 2025
7dc366a
fix: transfer auto association
M-Francia Oct 21, 2025
d147626
fix: add 2 seconds delay before deploy a smart contract
luigi-io Oct 27, 2025
5907d38
fix: add 2 seconds delay between send configurations to avoid timeour
luigi-io Oct 27, 2025
39747ed
fix: resolverid
M-Francia Oct 28, 2025
a311720
fix: reuse smart contracts instead of deploy new ones
luigi-io Oct 28, 2025
58aa6c6
fix: update token keys
M-Francia Nov 3, 2025
2115f4c
fix: translations
M-Francia Nov 3, 2025
e67a0be
fix: translations during the creation process
M-Francia Nov 3, 2025
a226f27
refactor: improve code
M-Francia Nov 3, 2025
01177a5
chore: improved clean command
M-Francia Nov 4, 2025
6a8ac5d
fix: connection errors
M-Francia Nov 4, 2025
8737e14
fix: return message when wallet not registered
M-Francia Nov 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"test:e2e": "npx jest --config ./test/jest-e2e.json",
"test:ci": "npx jest --ci --runInBand",
"clear-cache": "npx jest --clearCache",
"clean": "rimraf dist coverage",
"clean:modules": "rimraf node_modules",
"deleteAllTransactions": "ts-node ./src/scripts/deleteAllDBTransactions.ts",
"pre-commit": "npm run lint && npm run prettier"
Expand Down
29 changes: 24 additions & 5 deletions contracts/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,27 @@ TESTNET_MIRROR_NODE_ENDPOINT='https://testnet.mirrornode.hedera.com'
MAINNET_JSON_RPC_ENDPOINT='https://mainnet.hashio.io/api'
MAINNET_MIRROR_NODE_ENDPOINT='https://mainnet.mirrornode.hedera.com'

# * Deployed Contracts
TESTNET_TOKENMANAGER='0x0000000000000000000000000000000000000000'
TESTNET_FACTORY_PROXY='0x0000000000000000000000000000000000000000'
TESTNET_FACTORY_PROXY_ADMIN='0x0000000000000000000000000000000000000000'
TESTNET_FACTORY='0x0000000000000000000000000000000000000000'
# * Reuse Deployed Contracts instead of deploying new ones
#TESTNET_BUSINESSLOGICRESOLVER='0x0000000000000000000000000000000000000000'
#TESTNET_BUSINESSLOGICRESOLVER_PROXY='0x0000000000000000000000000000000000000000'
#TESTNET_BUSINESSLOGICRESOLVER_PROXY_ADMIN='0x0000000000000000000000000000000000000000'
#TESTNET_STABLECOINFACTORYFACET='0x0000000000000000000000000000000000000000'
#TESTNET_STABLECOINFACTORYFACET_PROXY='0x0000000000000000000000000000000000000000'
#TESTNET_DIAMONDFACET='0x0000000000000000000000000000000000000000'
#TESTNET_HEDERATOKENMANAGER='0x0000000000000000000000000000000000000000'
#TESTNET_HEDERARESERVEFACET='0x0000000000000000000000000000000000000000'
#TESTNET_BURNABLEFACET='0x0000000000000000000000000000000000000000'
#TESTNET_CASHINFACET='0x0000000000000000000000000000000000000000'
#TESTNET_CUSTOMFEESFACET='0x0000000000000000000000000000000000000000'
#TESTNET_DELETABLEFACET='0x0000000000000000000000000000000000000000'
#TESTNET_FREEZABLEFACET='0x0000000000000000000000000000000000000000'
#TESTNET_HOLDMANAGEMENTFACET='0x0000000000000000000000000000000000000000'
#TESTNET_KYCFACET='0x0000000000000000000000000000000000000000'
#TESTNET_PAUSABLEFACET='0x0000000000000000000000000000000000000000'
#TESTNET_RESCUABLEFACET='0x0000000000000000000000000000000000000000'
#TESTNET_RESERVEFACET='0x0000000000000000000000000000000000000000'
#TESTNET_ROLEMANAGEMENTFACET='0x0000000000000000000000000000000000000000'
#TESTNET_ROLESFACET='0x0000000000000000000000000000000000000000'
#TESTNET_SUPPLIERADMINFACET='0x0000000000000000000000000000000000000000'
#TESTNET_TOKENOWNERFACET='0x0000000000000000000000000000000000000000'
#TESTNET_WIPEABLEFACET='0x0000000000000000000000000000000000000000'
4 changes: 2 additions & 2 deletions contracts/configuration/Configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ export default class Configuration {

if (address !== EMPTY_STRING) {
const proxyAddress = Configuration._getEnvironmentVariable({
name: `${network.toUpperCase()}_${contractName}${SUFIXES.proxy}`,
name: `${network.toUpperCase()}_${contractName.toUpperCase()}${SUFIXES.proxy}`,
defaultValue: EMPTY_STRING,
})
const proxyAdminAddress = Configuration._getEnvironmentVariable({
name: `${network.toUpperCase()}_${contractName}${SUFIXES.proxyAdmin}`,
name: `${network.toUpperCase()}_${contractName.toUpperCase()}${SUFIXES.proxyAdmin}`,
defaultValue: EMPTY_STRING,
})

Expand Down
4 changes: 2 additions & 2 deletions contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
"test:supplieradmin": "npx hardhat test test/thread0/supplieradmin.test.ts",
"test:upgradable": "npx hardhat test test/thread1/upgradable.test.ts",
"test:wipeable": "npx hardhat test test/thread0/wipeable.test.ts",
"clean": "npx hardhat clean",
"clean": "rimraf build cache docs && npx hardhat clean",
"clean:modules": "rimraf node_modules",
"clean:all": "rimraf artifacts cache coverage node_modules build typechain-types && npm run clean",
"clean:all": "rimraf node_modules build cache docs typechain-types coverage && npx hardhat clean",
"size": "npx hardhat size-contracts",
"lint:sol": "solhint 'contracts/**/*.sol'",
"lint:ts": "npx eslint . --ext .ts",
Expand Down
7 changes: 5 additions & 2 deletions contracts/scripts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ export async function deployFullInfrastructure({
useEnvironment,
partialBatchDeploy,
}: DeployFullInfrastructureCommand): Promise<DeployFullInfrastructureResult> {
console.log(MESSAGES.deploy.info.deployFullInfrastructure)
const startDate = new Date().toJSON()
console.log(`[${startDate}] ${MESSAGES.deploy.info.deployFullInfrastructure}`)
if (useEnvironment && environment.initialized) {
return environment.toDeployScsFullInfrastructureResult()
}
Expand Down Expand Up @@ -241,7 +242,8 @@ export async function deployFullInfrastructure({
// Store the proxy address in the deployed contract list
deployedContractList.stableCoinFactoryFacet.proxyAddress = stableCoinFactoryResolverProxy.address

console.log(MESSAGES.deploy.success.deployFullInfrastructure)
const endDate = new Date().toJSON()
console.log(`[${endDate}] ${MESSAGES.deploy.success.deployFullInfrastructure}`)

// * Update Environment
if (useEnvironment) {
Expand Down Expand Up @@ -572,6 +574,7 @@ export async function deployContract<
receipt: undefined,
})
}
await new Promise((resolve) => setTimeout(resolve, 2000))
if (deployType === 'direct') {
const deployCommand = await DeployContractDirectCommand.newInstance({
name,
Expand Down
2 changes: 2 additions & 0 deletions contracts/scripts/resolverDiamondCut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ async function processFacetLists(
const batchSize = Math.ceil(facetIdList.length / 2)

for (let i = 0; i < facetIdList.length; i += batchSize) {
// delay to prevent errors in RPC from too many calls
await new Promise((resolve) => setTimeout(resolve, 2000))
const batchIds = facetIdList.slice(i, i + batchSize)
const batchVersions = facetVersionList.slice(i, i + batchSize)
const batch = createFacetConfigurations(batchIds, batchVersions)
Expand Down
Loading
Loading