Comments (15)
I don't understand it clearly... Do you mean supporting for invoking verify
?
from neo.
I think it's perfectly supported already, maybe except for the neo-cli.
from neo.
I didn't understand it either. What is the relationship between them?
from neo.
You can pass parameters to a deployed contract's verify
method. We current have support for this. But not in neo-cli
.
from neo.
You can pass parameters to a deployed contract's
verify
method. We current have support for this. But not inneo-cli
.
verify
does not take parameters.
It could
neo/src/Neo/SmartContract/Helper.cs
Line 335 in fd1edf0
from neo.
verify
does not take parameters.
@Jim8y
It does already take parameters. NEP-6
states that. just need support in neo-cli
.
from neo.
You can pass parameters to a deployed contract's
verify
method. We current have support for this. But not inneo-cli
.
verify
does not take parameters.It could
neo/src/Neo/SmartContract/Helper.cs
Line 335 in fd1edf0
Alright then. -1
from neo.
There are too many functions like NotValidBefore
and Conflict
as well as complicated Witness-xxx
related things that NEO provided. Not all of them should be supported by every tool.
Even if we support them, I don't think the wallets and dAPPs as well as explorers would support them. Let the proficients utilize them by writing their own codes.
from neo.
We don't have an official SDK, so we need to support them. Also we need tests to make sure they don't break.
from neo.
We don't have an official SDK
Yes. We have for each popular language. I bet you know https://github.com/neo-project/neo-devpack-dotnet which is for C#.
from neo.
That's for building contracts ONLY
. This has no control over node. What we are talking about is functionality for creating an transaction on-chain.
from neo.
In your context, NEO's nuget itself is the SDK. You purely need nothing but the NEO repo itself to create a transaction on-chain. If you are using C#, just import NEO and write like this.
Transaction tx = new()
{
Version = 0,
Nonce = 0,
Script = sb.ToArray(),
SystemFee = xxxxx,
NetworkFee = yyyyyyy,
ValidUntilBlock = zzzzzzzz,
Signers = new[]
{
new Signer() { Account = UInt160.Parse("XXXXXXXXX"), Scopes = WitnessScope.XXXXXXXXX },
},
Attributes = Array.Empty<TransactionAttribute>(),
};
tx.Witnesses = new[]
{
new Witness()
{
InvocationScript = new byte[] { xxxxxxxxx ).ToArray(), // maybe it's a signature signed anywhere
VerificationScript = YOUACCOUND.SCRIPT // if you need a contract's verify, leave VerificationScript empty here
},
};
This issue will make all things bigger and hard to maintain. Because there are too many trivial functions here and there.
If you insist, please keep the original API stable. And after the CLI and RPC support them, please push N3-DAPI to support them, too. Otherwise, it will introduce no benefit to normal users.
from neo.
That's for building contracts
ONLY
. This has no control over node. What we are talking about is functionality for creating an transaction on-chain.
FYI, I know that neoburger build their own transactions that maintains the votes. How did them come this without a SDK? https://github.com/neoburger/TEE
from neo.
Every possible tx could be built and serialized locally and send to the RpcServer by this method.
neo/src/Plugins/RpcServer/RpcServer.Node.cs
Lines 152 to 158 in 2fa8f0c
from neo.
That's for building contracts
ONLY
. This has no control over node. What we are talking about is functionality for creating an transaction on-chain.FYI, I know that neoburger build their own transactions that maintains the votes. How did them come this without a SDK? https://github.com/neoburger/TEE
RCPClient
from neo.
Related Issues (20)
- Create a staging/development Testnet HOT 15
- [Neo Plugins] Fix the Neo Plugins Namespace
- some nodes on testnet stopped syncing maybe caused by some modules HOT 14
- Create a 'getTransactions' RPC endpoint (plugin/extension) HOT 1
- NEO faucet isn't working HOT 6
- stack size can exceed MaxStackSize HOT 3
- a solution should be found for hardfork and upgrading
- ApplicationLogs Plugin: do not replace invalid ApplicationLog's stackitem with `Null` HOT 2
- Local build fails on master branch at 38cc0e9 HOT 2
- Fix `NeoSystem` Dispose HOT 2
- Implement Rollback Mechanism for Neo Node to Sync Plugin Information HOT 13
- Fix coverall problem introduced recently HOT 1
- Error building Neo.CLI HOT 1
- Create Tests with CI / ACTION to ensure local build is working HOT 4
- [V3.7.5 Checklist] This is a checklist for version 3.7.5 hotfix HOT 9
- Fix RPC responses for Hash160 types HOT 7
- How to handle [possible] negative VM refcounter HOT 1
- [Neo Core Event] Define Interfaces for Core Event Handlers
- Comments for Tarjan class HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neo.